Home
last modified time | relevance | path

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

/external/clang/include/clang/Sema/
DLookup.h456 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
644 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
/external/clang/lib/Sema/
DSemaLookup.cpp322 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
366 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
388 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
1547 Decl *D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
1555 D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
1734 if ((*FirstD)->getUnderlyingDecl()->getCanonicalDecl() != in LookupQualifiedName()
1735 (*CurrentD)->getUnderlyingDecl()->getCanonicalDecl()) in LookupQualifiedName()
2306 FunctionDecl *FDecl = (*I)->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
2736 NoteOverloadCandidate((*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
2933 ND = ND->getUnderlyingDecl(); in checkHidden()
[all …]
DSemaExprCXX.cpp1006 NamedDecl *del = filter.next()->getUnderlyingDecl(); in doesUsualArrayDeleteWantSize()
1762 = dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
1770 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
1782 if (FunctionDecl *Fn = dyn_cast<FunctionDecl>((*D)->getUnderlyingDecl())) in FindAllocationFunctions()
1877 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in FindAllocationOverload()
2177 NamedDecl *ND = (*F)->getUnderlyingDecl(); in FindDeallocationFunction()
2190 Operator = cast<CXXMethodDecl>(Matches[0]->getUnderlyingDecl()); in FindDeallocationFunction()
2214 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
2229 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
DSema.cpp1260 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1344 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
DSemaOverload.cpp5165 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5180 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5218 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
5363 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
5752 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
8490 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
8493 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
9822 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
9907 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
10057 = cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()); in ResolveSingleFunctionTemplateSpecialization()
[all …]
DSemaTemplate.cpp51 NamedDecl *D = Orig->getUnderlyingDecl(); in isAcceptableTemplateName()
194 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName()
906 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
963 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
6586 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
6631 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
6797 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckMemberSpecialization()
DSemaCodeComplete.cpp497 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
655 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclUsageType()
1040 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryName()
1058 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonTypeName()
1077 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1087 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonValueName()
DSemaTemplateDeduction.cpp165 X = NX->getUnderlyingDecl(); in isSameDeclaration()
167 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3067 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
DSemaAccess.cpp1299 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaPseudoObject.cpp1056 = dyn_cast<CXXConversionDecl>((*I)->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaDecl.cpp772 = FirstDecl? FirstDecl->getUnderlyingDecl() : nullptr; in ClassifyName()
899 = cast<TemplateDecl>((*Result.begin())->getUnderlyingDecl()); in ClassifyName()
925 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
966 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
3554 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
DSemaDeclCXX.cpp7329 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckUsingShadowDecl()
7738 Diag((*I)->getUnderlyingDecl()->getLocation(), in BuildUsingDeclaration()
DSemaChecking.cpp2885 NamedDecl *decl = (*I)->getUnderlyingDecl(); in CXXRecordMembersNamed()
/external/clang/tools/libclang/
DIndexDecl.cpp262 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), D, in VisitUsingDecl()
/external/clang/include/clang/AST/
DDecl.h272 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
280 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
281 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
/external/clang/lib/Frontend/
DASTUnit.cpp274 ND = dyn_cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclShowContexts()
2212 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/external/clang/lib/AST/
DExprCXX.cpp1309 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
DDeclCXX.cpp1044 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
DDecl.cpp3062 TsArray[I] = cast<FunctionTemplateDecl>(Ts[I]->getUnderlyingDecl()); in DependentFunctionTemplateSpecializationInfo()
DASTContext.cpp6156 isa<FunctionTemplateDecl>(D->getUnderlyingDecl()))); in getOverloadedTemplateName()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp3247 getDeclarationOrDefinition(USD.getUnderlyingDecl())) in EmitUsingDecl()