Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp333 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
374 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
375 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
472 D = D->getUnderlyingDecl(); in canHideTag()
492 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
517 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
608 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
2298 if (const TypeDecl *TD = dyn_cast<TypeDecl>(ND->getUnderlyingDecl())) { in LookupQualifiedName()
2303 return ND->getUnderlyingDecl()->getCanonicalDecl(); in LookupQualifiedName()
2562 if (const auto *TD = dyn_cast<TypedefNameDecl>(D->getUnderlyingDecl())) in DiagnoseAmbiguousLookup()
[all …]
H A DSemaExprCXX.cpp185 auto *Type = dyn_cast<TypeDecl>(D->getUnderlyingDecl()); in getDestructorName()
222 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in getDestructorName()
408 return isa<TypeDecl>(A->getUnderlyingDecl()) > in getDestructorName()
409 isa<TypeDecl>(B->getUnderlyingDecl()); in getDestructorName()
431 if (auto *TD = dyn_cast<TypeDecl>(FoundDecls[0]->getUnderlyingDecl())) { in getDestructorName()
448 if (auto *TD = dyn_cast<TypeDecl>(FoundD->getUnderlyingDecl())) in getDestructorName()
1609 : Found(Found), FD(dyn_cast<FunctionDecl>(Found->getUnderlyingDecl())), in UsualDeallocFnInfo()
2418 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in resolveAllocationOverload()
2693 auto *FD = dyn_cast<FunctionDecl>(Filter.next()->getUnderlyingDecl()); in FindAllocationFunctions()
2764 dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
[all …]
H A DSemaCXXScopeSpec.cpp319 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
724 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
H A DSemaModule.cpp662 NamedDecl *Target = USD->getUnderlyingDecl(); in checkExportedDecl()
H A DSemaTemplate.cpp100 D = D->getUnderlyingDecl(); in getAsTemplateNameDecl()
163 isa<FunctionDecl>((*I)->getUnderlyingDecl())) in hasAnyAcceptableTemplateNames()
490 return isa<FunctionDecl>(ND->getUnderlyingDecl()); in LookupTemplateName()
555 Diag(ExampleLookupResult->getUnderlyingDecl()->getLocation(), in LookupTemplateName()
1793 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
1856 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
2505 D = D->getUnderlyingDecl(); in DeclareImplicitDeductionGuides()
8903 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
8971 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
9054 if (auto *OldFD = dyn_cast<FunctionDecl>(OldND->getUnderlyingDecl())) in CheckFunctionTemplateSpecialization()
[all …]
H A DSemaOverload.cpp5900 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5915 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5954 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
6099 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6752 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
7625 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddNonMemberOperatorCandidates()
10336 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
10340 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
12091 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
12183 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
[all …]
H A DSemaExprMember.cpp106 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
205 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
H A DSemaCodeComplete.cpp765 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
911 ND = ND->getUnderlyingDecl(); in getDeclUsageType()
1399 ND = ND->getUnderlyingDecl(); in IsOrdinaryName()
1417 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonTypeName()
1443 if (const auto *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1453 ND = ND->getUnderlyingDecl(); in IsOrdinaryNonValueName()
1512 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1517 ND = ND->getUnderlyingDecl(); in IsType()
1525 ND = ND->getUnderlyingDecl(); in IsMember()
H A DSema.cpp2247 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
2332 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
H A DSemaAccess.cpp1312 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
H A DSemaTemplateDeduction.cpp213 X = NX->getUnderlyingDecl(); in isSameDeclaration()
215 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3785 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
H A DSemaPseudoObject.cpp1085 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
H A DSemaInit.cpp4002 D = D->getUnderlyingDecl(); in ResolveConstructorOverload()
10043 NamedDecl *D = (*I)->getUnderlyingDecl(); in DeduceTemplateSpecializationFromInitializer()
10117 auto *FD = dyn_cast<FunctionDecl>(D->getUnderlyingDecl()); in DeduceTemplateSpecializationFromInitializer()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DLookup.h520 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
714 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
H A DTypoCorrection.h153 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
H A DOverload.h1177 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTNodeTraverser.h605 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
H A DDecl.h433 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
443 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
444 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
H A DDeclCXX.h3300 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexDecl.cpp599 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTUnit.cpp293 ND = ND->getUnderlyingDecl(); in getDeclShowContexts()
2003 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp708 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1612 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
H A DExprCXX.cpp1447 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3569 const NamedDecl *UnderlyingDecl = Node.getUnderlyingDecl(); in AST_MATCHER_P()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExpr.cpp715 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()

12