Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLookup.cpp367 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
368 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
462 D = D->getUnderlyingDecl(); in canHideTag()
482 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
507 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
598 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
1963 Decl *D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
1971 D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
2170 if ((*FirstD)->getUnderlyingDecl()->getCanonicalDecl() != in LookupQualifiedName()
2171 (*CurrentD)->getUnderlyingDecl()->getCanonicalDecl()) in LookupQualifiedName()
[all …]
H A DSemaCXXScopeSpec.cpp320 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
720 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaExprCXX.cpp1503 : Found(Found), FD(dyn_cast<FunctionDecl>(Found->getUnderlyingDecl())), in UsualDeallocFnInfo()
2245 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2545 dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
2553 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
2955 Diag(D->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
3470 NamedDecl *D = (*FnOvl)->getUnderlyingDecl(); in resolveBuiltinNewDeleteOverload()
4815 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
4820 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait()
4854 if (isa<FunctionTemplateDecl>(ND->getUnderlyingDecl())) in EvaluateUnaryTypeTrait()
4859 auto *Constructor = cast<CXXConstructorDecl>(ND->getUnderlyingDecl()); in EvaluateUnaryTypeTrait()
H A DSemaTemplate.cpp74 NamedDecl *D = Orig->getUnderlyingDecl(); in isAcceptableTemplateName()
223 } else if (isa<UnresolvedUsingValueDecl>((*R.begin())->getUnderlyingDecl())) { in isTemplateName()
228 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName()
442 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1344 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1407 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2017 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
8058 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
8126 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
8209 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSemaExprMember.cpp107 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaOverload.cpp5627 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5642 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5680 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
5823 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6458 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
9644 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
11209 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
11301 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
11433 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfOnlyViableOverloadCandidate()
11524 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
H A DSemaCodeComplete.cpp520 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
666 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1071 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1089 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1115 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1125 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1184 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1189 ND = ND->getUnderlyingDecl(); in IsType()
1197 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSema.cpp1670 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1759 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
H A DSemaTemplateDeduction.cpp202 X = NX->getUnderlyingDecl(); in isSameDeclaration()
204 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3515 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaAccess.cpp1300 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaPseudoObject.cpp1095 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaInit.cpp3777 D = D->getUnderlyingDecl(); in ResolveConstructorOverload()
9271 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer()
9341 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
H A DSemaDeclCXX.cpp1122 dyn_cast<FunctionTemplateDecl>(D->getUnderlyingDecl())) { in checkTupleLikeDecomposition()
6045 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckCompletedCXXClass()
9622 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckUsingShadowDecl()
10119 Diag((*I)->getUnderlyingDecl()->getLocation(), in BuildUsingDeclaration()
10693 unsigned DiagID = isa<NamespaceDecl>(PrevDecl->getUnderlyingDecl()) in ActOnNamespaceAliasDef()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DLookup.h509 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
703 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
H A DTypoCorrection.h154 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h996 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp590 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h432 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
442 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
443 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3261 Target->getUnderlyingDecl()),
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp668 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1429 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DASTDumper.cpp1154 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DExprCXX.cpp1394 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp291 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
1993 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2884 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp572 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()

12