Lines Matching refs:NewFD
7496 auto *NewFD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl()); in checkOpenMPDeclareVariantFunction() local
7497 if (!NewFD) { in checkOpenMPDeclareVariantFunction()
7503 if (FD->getCanonicalDecl() == NewFD->getCanonicalDecl()) { in checkOpenMPDeclareVariantFunction()
7513 Context.mergeFunctionTypes(AdjustedFnType, NewFD->getType()); in checkOpenMPDeclareVariantFunction()
7517 << NewFD->getType() << FD->getType() << (NumAppendArgs ? 1 : 0) in checkOpenMPDeclareVariantFunction()
7523 setPrototype(SemaRef, FD, NewFD, NewType); in checkOpenMPDeclareVariantFunction()
7524 else if (NewFD->getType()->isFunctionNoProtoType()) in checkOpenMPDeclareVariantFunction()
7525 setPrototype(SemaRef, NewFD, FD, NewType); in checkOpenMPDeclareVariantFunction()
7530 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
7535 NewFD->specific_attr_begin<OMPDeclareVariantAttr>()->getRange(); in checkOpenMPDeclareVariantFunction()
7583 << (NewFD->isConsteval() ? ConstevalFuncs : ConstexprFuncs); in checkOpenMPDeclareVariantFunction()
7589 FD, NewFD, PartialDiagnostic::NullDiagnostic(), in checkOpenMPDeclareVariantFunction()