Home
last modified time | relevance | path

Searched refs:getUnderlyingDecl (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp338 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions()
380 const auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
381 const auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
478 D = D->getUnderlyingDecl(); in canHideTag()
498 const NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
522 const NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
2560 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName()
2565 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
2796 if (const auto *TD = dyn_cast<TypedefNameDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup()
2799 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup()
[all …]
H A DSemaExprCXX.cpp192 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
229 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
416 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
417 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
439 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()
456 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
1762 : Found(Found), FD(dyn_cast<FunctionDecl>(Found->getUnderlyingDecl())), in UsualDeallocFnInfo()
2564 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2835 auto *FD = dyn_cast<FunctionDecl>(Filter.next()->getUnderlyingDecl()); in FindAllocationFunctions()
2906 dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
[all …]
H A DSemaCXXScopeSpec.cpp324 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
649 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp108 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
170 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
495 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
560 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1881 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1944 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
8522 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition()
8761 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
8808 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
8897 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSema.cpp2504 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2588 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
2756 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
H A DSemaExprMember.cpp126 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
232 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaOverload.cpp1048 NotEqFD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq()
6406 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
6421 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
6463 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6610 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
7299 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
8221 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
11088 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
11092 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
12996 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
[all …]
H A DSemaModule.cpp960 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaCodeComplete.cpp795 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
941 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1499 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1517 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1543 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1553 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1613 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1618 ND = ND->getUnderlyingDecl(); in IsType()
1626 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSemaTemplateDeductionGuide.cpp1403 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
H A DSemaAccess.cpp1321 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp203 X = NX->getUnderlyingDecl(); in isSameDeclaration()
205 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
4084 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaObjC.cpp1416 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaDecl.cpp469 NamedDecl *RealRes = (*Res)->getUnderlyingDecl(); in getTypeName()
1148 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
1201 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
1250 if (auto *Ivar = dyn_cast<ObjCIvarDecl>(Found->getUnderlyingDecl())) in ActOnNameClassifiedAsNonType()
5269 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
15778 if (!RD || !RD->getUnderlyingDecl()->hasAttr<CoroReturnTypeAttr>()) in CheckCoroutineWrapper()
H A DSemaInit.cpp4304 D = D->getUnderlyingDecl(); in ResolveConstructorOverload()
9902 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer()
9956 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h571 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
784 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
H A DOverload.h1279 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp617 if (isa<UnresolvedUsingIfExistsDecl>(I->getUnderlyingDecl())) in VisitUsingDecl()
620 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h739 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h462 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
472 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
473 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3628 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp292 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2064 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp767 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1748 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1588 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DTypePrinter.cpp1187 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()

12