| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 338 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 D | SemaExprCXX.cpp | 192 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 D | SemaCXXScopeSpec.cpp | 324 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 649 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 108 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 D | Sema.cpp | 2504 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 2588 const NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads() 2756 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
|
| H A D | SemaExprMember.cpp | 126 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 232 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaOverload.cpp | 1048 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 D | SemaModule.cpp | 960 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
|
| H A D | SemaCodeComplete.cpp | 795 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 D | SemaTemplateDeductionGuide.cpp | 1403 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
|
| H A D | SemaAccess.cpp | 1321 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaTemplateDeduction.cpp | 203 X = NX->getUnderlyingDecl(); in isSameDeclaration() 205 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 4084 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaObjC.cpp | 1416 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| H A D | SemaDecl.cpp | 469 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 D | SemaInit.cpp | 4304 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 D | Lookup.h | 571 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 784 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
|
| H A D | Overload.h | 1279 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 | 739 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | Decl.h | 462 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 472 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 473 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| H A D | DeclCXX.h | 3628 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 292 ND = ND->getUnderlyingDecl(); in getDeclShowContexts() 2064 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 767 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1748 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ExprCXX.cpp | 1588 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | TypePrinter.cpp | 1187 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
|