Lines Matching refs:NewFD
6260 auto *NewFD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl()); in checkOpenMPDeclareVariantFunction() local
6261 if (!NewFD) { in checkOpenMPDeclareVariantFunction()
6270 Context.mergeFunctionTypes(FD->getType(), NewFD->getType()); in checkOpenMPDeclareVariantFunction()
6274 << NewFD->getType() << FD->getType() << VariantRef->getSourceRange(); in checkOpenMPDeclareVariantFunction()
6279 setPrototype(*this, FD, NewFD, NewType); in checkOpenMPDeclareVariantFunction()
6280 else if (NewFD->getType()->isFunctionNoProtoType()) in checkOpenMPDeclareVariantFunction()
6281 setPrototype(*this, NewFD, FD, NewType); in checkOpenMPDeclareVariantFunction()
6286 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
6291 NewFD->specific_attr_begin<OMPDeclareVariantAttr>()->getRange(); in checkOpenMPDeclareVariantFunction()
6339 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in checkOpenMPDeclareVariantFunction()
6345 FD, NewFD, PartialDiagnostic::NullDiagnostic(), in checkOpenMPDeclareVariantFunction()