Home
last modified time | relevance | path

Searched refs:OldFD (Results 1 – 6 of 6) sorted by relevance

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaCUDA.cpp908 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload() local
909 if (!OldFD) in checkCUDATargetOverload()
912 CUDAFunctionTarget OldTarget = IdentifyCUDATarget(OldFD); in checkCUDATargetOverload()
921 !IsOverload(NewFD, OldFD, /* UseMemberUsingDeclRules = */ false, in checkCUDATargetOverload()
924 << NewTarget << NewFD->getDeclName() << OldTarget << OldFD; in checkCUDATargetOverload()
925 Diag(OldFD->getLocation(), diag::note_previous_declaration); in checkCUDATargetOverload()
H A DSemaDecl.cpp11037 if (OldFD) { in areMultiversionVariantFunctionsCompatible()
11064 OldFD->getType()->getAs<FunctionProtoType>(), OldFD->getLocation(), in areMultiversionVariantFunctionsCompatible()
11077 if (OldFD) in CheckMultiVersionAdditionalRules()
11086 if (CausesMV && OldFD && in CheckMultiVersionAdditionalRules()
11094 if (OldFD && CausesMV && OldFD->isUsed(false)) in CheckMultiVersionAdditionalRules()
11186 OldDecl = OldFD; in CheckTargetCausesMultiVersioning()
11187 OldFD->setIsMultiVersion(); in CheckTargetCausesMultiVersioning()
11248 OldFD->setIsMultiVersion(); in CheckTargetCausesMultiVersioning()
11475 OldDecl = OldFD; in CheckMultiVersionAdditionalDecl()
11539 OldDecl = OldFD; in CheckMultiVersionFunction()
[all …]
H A DSemaLookup.cpp3807 FunctionDecl *OldFD = Old->getAsFunction(); in insert() local
3819 if (Cursor == OldFD) break; in insert()
H A DSemaTemplateInstantiateDecl.cpp3468 CXXMethodDecl *OldFD = Decl->getSpecialization(); in VisitClassScopeFunctionSpecializationDecl() local
3470 VisitCXXMethodDecl(OldFD, nullptr, Decl->getTemplateArgsAsWritten())); in VisitClassScopeFunctionSpecializationDecl()
H A DSemaTemplate.cpp9416 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization() local
9417 NoteOverloadCandidate(OldND, OldFD, CRK_None, FD->getType(), false); in CheckFunctionTemplateSpecialization()
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DSema.h11058 const FunctionDecl *OldFD, const FunctionDecl *NewFD,