Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaLookup.cpp327 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
368 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
369 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
453 D = D->getUnderlyingDecl(); in canHideTag()
472 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
497 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
588 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
1842 Decl *D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
1850 D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
2045 if ((*FirstD)->getUnderlyingDecl()->getCanonicalDecl() != in LookupQualifiedName()
[all …]
DSemaExprCXX.cpp1120 NamedDecl *del = filter.next()->getUnderlyingDecl(); in doesUsualArrayDeleteWantSize()
1868 = dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
1876 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
1888 if (FunctionDecl *Fn = dyn_cast<FunctionDecl>((*D)->getUnderlyingDecl())) in FindAllocationFunctions()
1983 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in FindAllocationOverload()
2291 NamedDecl *ND = (*F)->getUnderlyingDecl(); in FindDeallocationFunction()
2307 Operator = cast<CXXMethodDecl>(Matches[0]->getUnderlyingDecl()); in FindDeallocationFunction()
2331 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
2346 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
DSema.cpp1336 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1420 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
DSemaExprMember.cpp107 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
204 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
DSemaTemplate.cpp52 NamedDecl *D = Orig->getUnderlyingDecl(); in isAcceptableTemplateName()
195 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName()
916 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
972 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
6786 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
6835 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
7007 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckMemberSpecialization()
DSemaOverload.cpp5283 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5298 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5336 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
5479 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6002 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
8907 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
8911 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
10348 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
10439 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
10594 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
DSemaCodeComplete.cpp497 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
654 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclUsageType()
1037 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryName()
1055 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonTypeName()
1074 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1084 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonValueName()
DSemaTemplateDeduction.cpp139 X = NX->getUnderlyingDecl(); in isSameDeclaration()
141 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3044 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
DSemaAccess.cpp1304 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaPseudoObject.cpp1080 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaDecl.cpp818 = FirstDecl? FirstDecl->getUnderlyingDecl() : nullptr; in ClassifyName()
945 = cast<TemplateDecl>((*Result.begin())->getUnderlyingDecl()); in ClassifyName()
971 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
1013 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
3970 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
DSemaDeclCXX.cpp7792 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckUsingShadowDecl()
8199 Diag((*I)->getUnderlyingDecl()->getLocation(), in BuildUsingDeclaration()
DSemaChecking.cpp3931 NamedDecl *decl = (*I)->getUnderlyingDecl(); in CXXRecordMembersNamed()
/external/clang/include/clang/Sema/
DLookup.h461 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
653 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
/external/clang/tools/libclang/
DIndexDecl.cpp262 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), D, in VisitUsingDecl()
/external/clang/include/clang/AST/
DDecl.h319 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
327 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
328 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
/external/clang/lib/Frontend/
DASTUnit.cpp271 ND = dyn_cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclShowContexts()
2193 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/external/clang/lib/AST/
DExprCXX.cpp1323 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
DDeclCXX.cpp1045 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
DDecl.cpp3155 TsArray[I] = cast<FunctionTemplateDecl>(Ts[I]->getUnderlyingDecl()); in DependentFunctionTemplateSpecializationInfo()
DASTContext.cpp6449 isa<FunctionTemplateDecl>(D->getUnderlyingDecl()))); in getOverloadedTemplateName()
/external/clang/lib/Parse/
DParseExpr.cpp497 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp3439 getDeclarationOrDefinition(USD.getUnderlyingDecl())) in EmitUsingDecl()