Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp337 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions()
382 const auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
383 const auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
480 D = D->getUnderlyingDecl(); in canHideTag()
500 const NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
525 const NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
2598 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName()
2603 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
2834 if (const auto *TD = dyn_cast<TypedefNameDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup()
2837 else if (const auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup()
[all …]
H A DSemaTypeTraits.cpp80 if (CXXMethodDecl *M = dyn_cast<CXXMethodDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMemberFromXValue()
92 dyn_cast<FunctionTemplateDecl>(Cand->getUnderlyingDecl())) { in LookupSpecialMemberFromXValue()
1051 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
1056 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait()
1089 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
1094 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait()
H A DSemaExprCXX.cpp171 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
208 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
398 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
399 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
421 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()
438 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
1751 : Found(Found), FD(dyn_cast<FunctionDecl>(Found->getUnderlyingDecl())), in UsualDeallocFnInfo()
1761 auto *FTD = dyn_cast<FunctionTemplateDecl>(Found->getUnderlyingDecl());
2685 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverloadInterior()
2853 FunctionDecl *FD = Filter.next()->getUnderlyingDecl()->getAsFunction(); in LookupGlobalDeallocationFunctions()
[all …]
H A DSemaCXXScopeSpec.cpp319 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
644 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp105 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
167 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
492 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
560 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1924 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1987 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
9001 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition()
9249 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
9296 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
9385 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSema.cpp2672 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2756 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
2924 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
H A DSemaExprMember.cpp124 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
230 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaOverload.cpp1077 NotEqFD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq()
6658 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
6673 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
6715 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6855 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
7590 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
8676 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
11781 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
11785 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
13717 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
[all …]
H A DSemaModule.cpp974 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaCodeComplete.cpp795 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
941 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1501 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1519 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1545 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1555 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1615 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1620 ND = ND->getUnderlyingDecl(); in IsType()
1628 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSemaTemplateDeductionGuide.cpp1464 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
H A DSemaAccess.cpp1320 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp191 X = NX->getUnderlyingDecl(); in isSameDeclaration()
193 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
4170 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaObjC.cpp1413 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaDecl.cpp495 NamedDecl *RealRes = (*Res)->getUnderlyingDecl(); in getTypeName()
1165 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
1218 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
1267 if (auto *Ivar = dyn_cast<ObjCIvarDecl>(Found->getUnderlyingDecl())) in ActOnNameClassifiedAsNonType()
5383 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
16220 if (!RD || !RD->getUnderlyingDecl()->hasAttr<CoroReturnTypeAttr>()) in CheckCoroutineWrapper()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DLookup.h572 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
786 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
H A DOverload.h1520 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.h775 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h486 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
496 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
497 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3691 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp288 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2079 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp774 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1865 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1592 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DTypePrinter.cpp1229 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()

12