| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 367 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 D | SemaCXXScopeSpec.cpp | 320 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 720 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaExprCXX.cpp | 1503 : 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 D | SemaTemplate.cpp | 74 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 D | SemaExprMember.cpp | 107 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaOverload.cpp | 5627 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 D | SemaCodeComplete.cpp | 520 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 D | Sema.cpp | 1670 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 1759 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
|
| H A D | SemaTemplateDeduction.cpp | 202 X = NX->getUnderlyingDecl(); in isSameDeclaration() 204 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 3515 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaAccess.cpp | 1300 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaPseudoObject.cpp | 1095 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| H A D | SemaInit.cpp | 3777 D = D->getUnderlyingDecl(); in ResolveConstructorOverload() 9271 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer() 9341 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
|
| H A D | SemaDeclCXX.cpp | 1122 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 D | Lookup.h | 509 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 703 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
|
| H A D | TypoCorrection.h | 154 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
|
| H A D | Overload.h | 996 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 590 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Decl.h | 432 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 442 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 443 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| H A D | DeclCXX.h | 3261 Target->getUnderlyingDecl()),
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 668 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1429 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ASTDumper.cpp | 1154 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | ExprCXX.cpp | 1394 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 291 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 D | ASTMatchers.h | 2884 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 572 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()
|