Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaLookup.cpp336 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 DSemaExprCXX.cpp191 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 DSemaCXXScopeSpec.cpp333 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
738 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaTemplate.cpp104 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 DSema.cpp2461 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2546 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
2717 ND = ND->getUnderlyingDecl(); in isDeclaratorFunctionLike()
H A DSemaOverload.cpp958 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 DSemaExprMember.cpp106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
206 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaModule.cpp908 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaCodeComplete.cpp767 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 DSemaAccess.cpp1313 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp200 X = NX->getUnderlyingDecl(); in isSameDeclaration()
202 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3774 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaPseudoObject.cpp1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaInit.cpp4059 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 DLookup.h546 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
739 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in checkUnresolved()
H A DTypoCorrection.h153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h1218 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp617 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 DASTNodeTraverser.h642 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h459 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
469 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
470 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3534 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTUnit.cpp293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2033 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp713 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1665 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1518 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
H A DTypePrinter.cpp1079 printTypeSpec(T->getFoundDecl()->getUnderlyingDecl(), OS); in printUsingBefore()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3595 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()

12