| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 337 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 D | SemaTypeTraits.cpp | 80 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 D | SemaExprCXX.cpp | 171 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 D | SemaCXXScopeSpec.cpp | 319 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 644 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 105 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 D | Sema.cpp | 2672 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 2756 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads() 2924 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
|
| H A D | SemaExprMember.cpp | 124 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 230 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaOverload.cpp | 1077 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 D | SemaModule.cpp | 974 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
|
| H A D | SemaCodeComplete.cpp | 795 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 D | SemaTemplateDeductionGuide.cpp | 1464 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
|
| H A D | SemaAccess.cpp | 1320 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaTemplateDeduction.cpp | 191 X = NX->getUnderlyingDecl(); in isSameDeclaration() 193 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 4170 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaObjC.cpp | 1413 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| H A D | SemaDecl.cpp | 495 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 D | Lookup.h | 572 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 786 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
|
| H A D | Overload.h | 1520 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 617 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 D | ASTNodeTraverser.h | 775 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | Decl.h | 486 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 496 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 497 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| H A D | DeclCXX.h | 3691 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 288 ND = ND->getUnderlyingDecl(); in getDeclShowContexts() 2079 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 774 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1865 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ExprCXX.cpp | 1592 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | TypePrinter.cpp | 1229 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
|