| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 336 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in checkDebugAssumptions() 377 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult() 378 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult() 475 D = D->getUnderlyingDecl(); in canHideTag() 495 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind() 520 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind() 612 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind() 2565 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName() 2570 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName() 2829 if (const auto *TD = dyn_cast<TypedefNameDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup() [all …]
|
| H A D | SemaExprCXX.cpp | 191 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName() 228 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName() 414 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName() 415 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName() 437 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName() 454 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName() 1684 : Found(Found), FD(dyn_cast<FunctionDecl>(Found->getUnderlyingDecl())), in UsualDeallocFnInfo() 2494 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload() 2770 auto *FD = dyn_cast<FunctionDecl>(Filter.next()->getUnderlyingDecl()); in FindAllocationFunctions() 2841 dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 333 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier() 738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
|
| H A D | SemaTemplate.cpp | 104 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl() 166 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames() 495 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName() 560 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName() 1892 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate() 1955 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate() 2606 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides() 8986 auto *OldConcept = dyn_cast<ConceptDecl>(Previous.getRepresentativeDecl()->getUnderlyingDecl()); in CheckConceptRedefinition() 9265 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization() 9333 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization() [all …]
|
| H A D | Sema.cpp | 2461 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall() 2546 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads() 2717 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
|
| H A D | SemaOverload.cpp | 958 FD = UD->getUnderlyingDecl()->getAsFunction(); in shouldAddReversedEqEq() 6057 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion() 6072 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion() 6111 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion() 6256 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion() 6935 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates() 7826 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates() 10654 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates() 10658 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates() 12430 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly() [all …]
|
| H A D | SemaExprMember.cpp | 106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess() 206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
|
| H A D | SemaModule.cpp | 908 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
|
| H A D | SemaCodeComplete.cpp | 767 ND = ND->getUnderlyingDecl(); in isInterestingDecl() 913 ND = ND->getUnderlyingDecl(); in getDeclUsageType() 1434 ND = ND->getUnderlyingDecl(); in IsOrdinaryName() 1452 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName() 1478 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue() 1488 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName() 1547 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias() 1552 ND = ND->getUnderlyingDecl(); in IsType() 1560 ND = ND->getUnderlyingDecl(); in IsMember()
|
| H A D | SemaAccess.cpp | 1313 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaTemplateDeduction.cpp | 200 X = NX->getUnderlyingDecl(); in isSameDeclaration() 202 Y = NY->getUnderlyingDecl(); in isSameDeclaration() 3774 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
|
| H A D | SemaPseudoObject.cpp | 1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
|
| H A D | SemaInit.cpp | 4059 D = D->getUnderlyingDecl(); in ResolveConstructorOverload() 10484 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer() 10558 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Lookup.h | 546 return (*begin())->getUnderlyingDecl(); in getFoundDecl() 739 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
|
| H A D | TypoCorrection.h | 153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
|
| H A D | Overload.h | 1218 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ASTNodeTraverser.h | 642 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
|
| H A D | Decl.h | 459 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function 469 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function 470 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
|
| H A D | DeclCXX.h | 3534 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts() 2033 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 713 DUnderlying = ND->getUnderlyingDecl(); in addedMember() 1665 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
| H A D | ExprCXX.cpp | 1518 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
| H A D | TypePrinter.cpp | 1079 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
|
| /openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3595 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()
|