Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaLookup.cpp330 isa<FunctionTemplateDecl>((*begin())->getUnderlyingDecl()))); in sanity()
371 auto *DUnderlying = D->getUnderlyingDecl(); in isPreferredLookupResult()
372 auto *EUnderlying = Existing->getUnderlyingDecl(); in isPreferredLookupResult()
464 D = D->getUnderlyingDecl(); in canHideTag()
483 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind()
508 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind()
599 if (isa<TagDecl>(Decls[UniqueTagIndex]->getUnderlyingDecl()) && in resolveKind()
1928 Decl *D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
1936 D = (*First)->getUnderlyingDecl(); in HasOnlyStaticMembers()
2135 if ((*FirstD)->getUnderlyingDecl()->getCanonicalDecl() != in LookupQualifiedName()
[all …]
DSemaCXXScopeSpec.cpp319 SD = SD->getUnderlyingDecl(); in isAcceptableNestedNameSpecifier()
720 Context.getTypeDeclType(cast<TypeDecl>(SD->getUnderlyingDecl())); in BuildCXXNestedNameSpecifier()
DSemaExprCXX.cpp1353 NamedDecl *del = filter.next()->getUnderlyingDecl(); in doesUsualArrayDeleteWantSize()
2102 = dyn_cast<FunctionTemplateDecl>((*D)->getUnderlyingDecl())) { in FindAllocationFunctions()
2110 Fn = cast<FunctionDecl>((*D)->getUnderlyingDecl()); in FindAllocationFunctions()
2122 if (FunctionDecl *Fn = dyn_cast<FunctionDecl>((*D)->getUnderlyingDecl())) in FindAllocationFunctions()
2217 NamedDecl *D = (*Alloc)->getUnderlyingDecl(); in FindAllocationOverload()
2516 NamedDecl *ND = (*F)->getUnderlyingDecl(); in FindDeallocationFunction()
2532 Operator = cast<CXXMethodDecl>(Matches[0]->getUnderlyingDecl()); in FindDeallocationFunction()
2556 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
2571 Diag((*F)->getUnderlyingDecl()->getLocation(), in FindDeallocationFunction()
DSema.cpp1329 = dyn_cast<FunctionDecl>((*it)->getUnderlyingDecl())) { in tryExprAsCall()
1413 NamedDecl *Fn = (*It)->getUnderlyingDecl(); in noteOverloads()
DSemaCodeComplete.cpp522 ND = ND->getUnderlyingDecl(); in isInterestingDecl()
671 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclUsageType()
1054 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryName()
1072 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonTypeName()
1091 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ND->getUnderlyingDecl())) in IsIntegralConstantValue()
1101 ND = cast<NamedDecl>(ND->getUnderlyingDecl()); in IsOrdinaryNonValueName()
1162 return isa<NamespaceDecl>(ND->getUnderlyingDecl()); in IsNamespaceOrAlias()
1167 ND = ND->getUnderlyingDecl(); in IsType()
1175 ND = ND->getUnderlyingDecl(); in IsMember()
DSemaExprMember.cpp107 D = D->getUnderlyingDecl(); in ClassifyImplicitMemberAccess()
205 Rep = Rep->getUnderlyingDecl(); in diagnoseInstanceReference()
DSemaOverload.cpp5343 cast<CXXConversionDecl>(ViableConversions[I]->getUnderlyingDecl()); in diagnoseAmbiguousConversion()
5358 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in diagnoseNoViableConversion()
5396 cast<CXXConversionDecl>(Found->getUnderlyingDecl()); in recordConversion()
5539 NamedDecl *D = (*I)->getUnderlyingDecl(); in PerformContextualImplicitConversion()
6048 NamedDecl *D = F.getDecl()->getUnderlyingDecl(); in AddFunctionCandidates()
9022 dyn_cast<FunctionTemplateDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
9026 = dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl()) ) { in NoteAllOverloadCandidates()
10511 NamedDecl *Fn = (*I)->getUnderlyingDecl(); in FindAllFunctionsThatMatchTargetTypeExactly()
10603 dyn_cast<FunctionDecl>((*I)->getUnderlyingDecl())) in ComplainNoMatchesFound()
10734 auto *FD = dyn_cast<FunctionDecl>(I->getUnderlyingDecl()); in resolveAddressOfOnlyViableOverloadCandidate()
[all …]
DSemaTemplate.cpp54 NamedDecl *D = Orig->getUnderlyingDecl(); in isAcceptableTemplateName()
197 TemplateDecl *TD = cast<TemplateDecl>((*R.begin())->getUnderlyingDecl()); in isTemplateName()
931 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
994 PrevDecl = (*Previous.begin())->getUnderlyingDecl(); in CheckClassTemplate()
6825 NamedDecl *D = F.next()->getUnderlyingDecl(); in CheckDependentFunctionTemplateSpecialization()
6874 NamedDecl *Ovl = (*I)->getUnderlyingDecl(); in CheckFunctionTemplateSpecialization()
7072 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckMemberSpecialization()
DSemaTemplateDeduction.cpp139 X = NX->getUnderlyingDecl(); in isSameDeclaration()
141 Y = NY->getUnderlyingDecl(); in isSameDeclaration()
3036 NamedDecl *D = (*I)->getUnderlyingDecl(); in ResolveOverloadForDeduction()
DSemaAccess.cpp1299 const NamedDecl *OrigDecl = Entity.getTargetDecl()->getUnderlyingDecl(); in IsMicrosoftUsingDeclarationAccessBug()
DSemaPseudoObject.cpp1081 dyn_cast<CXXConversionDecl>(D->getUnderlyingDecl())) { in CheckSubscriptingKind()
DSemaDecl.cpp988 = cast<TemplateDecl>((*Result.begin())->getUnderlyingDecl()); in ClassifyName()
1014 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); in ClassifyName()
1056 FirstDecl->getUnderlyingDecl()->isFunctionOrFunctionTemplate())) && in ClassifyName()
4099 NamedDecl *PrevDecl = R.getRepresentativeDecl()->getUnderlyingDecl(); in CheckAnonMemberRedeclaration()
DSemaDeclCXX.cpp7956 NamedDecl *D = (*I)->getUnderlyingDecl(); in CheckUsingShadowDecl()
8415 Diag((*I)->getUnderlyingDecl()->getLocation(), in BuildUsingDeclaration()
8949 unsigned DiagID = isa<NamespaceDecl>(PrevDecl->getUnderlyingDecl()) in ActOnNamespaceAliasDef()
/external/clang/include/clang/Sema/
DLookup.h504 return (*begin())->getUnderlyingDecl(); in getFoundDecl()
697 if (isa<UnresolvedUsingValueDecl>((*I)->getUnderlyingDecl())) in sanityCheckUnresolved()
DTypoCorrection.h141 return D ? D->getUnderlyingDecl() : nullptr; in getCorrectionDecl()
DOverload.h816 auto *D = ND->getUnderlyingDecl(); in getConstructorInfo()
/external/clang/lib/Index/
DIndexDecl.cpp358 IndexCtx.handleReference(I->getUnderlyingDecl(), D->getLocation(), Parent, in VisitUsingDecl()
/external/clang/include/clang/AST/
DDecl.h387 NamedDecl *getUnderlyingDecl() { in getUnderlyingDecl() function
397 const NamedDecl *getUnderlyingDecl() const { in getUnderlyingDecl() function
398 return const_cast<NamedDecl*>(this)->getUnderlyingDecl(); in getUnderlyingDecl()
DDeclCXX.h2950 Target->getUnderlyingDecl()), in ConstructorUsingShadowDecl()
/external/clang/lib/AST/
DDeclCXX.cpp455 DUnderlying = ND->getUnderlyingDecl(); in addedMember()
1101 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
DExprCXX.cpp1201 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
DASTDumper.cpp1497 if (auto *TD = dyn_cast<TypeDecl>(D->getUnderlyingDecl())) in VisitUsingShadowDecl()
DDecl.cpp3266 TsArray[I] = cast<FunctionTemplateDecl>(Ts[I]->getUnderlyingDecl()); in DependentFunctionTemplateSpecializationInfo()
/external/clang/lib/Frontend/
DASTUnit.cpp271 ND = dyn_cast<NamedDecl>(ND->getUnderlyingDecl()); in getDeclShowContexts()
2202 = Results[I].Declaration->getUnderlyingDecl()->getIdentifierNamespace(); in CalculateHiddenNames()
/external/clang/lib/Parse/
DParseExpr.cpp510 NamedDecl *ND = C->getUnderlyingDecl(); in ValidateCandidate()

12