/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2769 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> { 2780 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, in UsingShadowDecl() function 2792 typedef Redeclarable<UsingShadowDecl> redeclarable_base; 2793 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl() 2796 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl() 2799 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl() 2804 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 2807 return new (C, DC) UsingShadowDecl(C, DC, Loc, Using, Target); in Create() 2810 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2820 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl() [all …]
|
D | ASTContext.h | 69 class UsingShadowDecl; variable 371 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*> 801 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, 802 UsingShadowDecl *Pattern); 803 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
|
D | RecursiveASTVisitor.h | 1420 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 924 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() 2064 void UsingShadowDecl::anchor() { } in anchor() 2066 UsingShadowDecl * 2067 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2068 return new (C, ID) UsingShadowDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 2072 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2073 const UsingShadowDecl *Shadow = this; in getUsingDecl() 2074 while (const UsingShadowDecl *NextShadow = in getUsingDecl() 2075 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getUsingDecl() 2082 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl() [all …]
|
D | DeclPrinter.cpp | 93 void VisitUsingShadowDecl(UsingShadowDecl *D); 1343 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
D | Decl.cpp | 1604 while (auto *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl() 1618 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember() 1619 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
D | ASTDumper.cpp | 463 void VisitUsingShadowDecl(const UsingShadowDecl *D); 1409 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
D | ASTContext.cpp | 1235 UsingShadowDecl * 1236 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl() 1237 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl() 1246 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl() 1247 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl() 6448 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2478 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 2480 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 3649 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 3666 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 2352 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() 2356 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl() 2358 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl() 2362 UsingShadowDecl *InstShadow = in VisitUsingDecl() 2374 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 4254 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf() 4255 UsingShadowDecl *Instance, in isInstantiationOf() 4350 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() 4351 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf() 4608 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
|
D | SemaLookup.cpp | 364 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult() 365 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult() 2861 if (UsingShadowDecl *U = dyn_cast<UsingShadowDecl>(Cand)) { in LookupSpecialMember() 3040 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator() 3220 if (isa<UsingShadowDecl>(D)) in ArgumentDependentLookup() 3221 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
|
D | SemaOverload.cpp | 896 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload() 903 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 923 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload() 3174 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion() 3175 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4116 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit() 4117 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5377 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates() 5378 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 6044 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate() [all …]
|
D | SemaDeclCXX.cpp | 6377 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods() 7729 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl() 7780 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl() 7781 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 7794 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() 7857 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl() 7860 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 7864 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl() 7865 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl() 7866 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl() [all …]
|
D | SemaAccess.cpp | 1302 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() 1303 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
|
D | SemaCodeComplete.cpp | 822 if (const UsingShadowDecl *Using = in MaybeAddResult() 823 dyn_cast<UsingShadowDecl>(R.Declaration)) { in MaybeAddResult() 939 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in AddResult() 1150 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsType() 1160 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsMember()
|
D | SemaInit.cpp | 3889 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction() 3890 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 4520 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion() 4521 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
D | SemaDecl.cpp | 1311 return isa<UsingShadowDecl>(D) || in isUsingDecl() 2604 static bool checkUsingShadowRedecl(Sema &S, UsingShadowDecl *OldS, in checkUsingShadowRedecl() 2670 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl() 3400 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 3407 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 12193 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) { in ActOnTag()
|
D | SemaChecking.cpp | 4979 if (const UsingShadowDecl *UsingD = dyn_cast<UsingShadowDecl>(I)) { in emitReplacement()
|
D | SemaExpr.cpp | 2623 assert(isa<UsingShadowDecl>(FoundDecl)); in PerformObjectMemberConversion() 2691 if (isa<UsingShadowDecl>(D)) in UseArgumentDependentLookup() 2692 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 302 void VisitUsingShadowDecl(UsingShadowDecl *D); 1350 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl() 1357 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 1362 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl() 2635 if (UsingShadowDecl *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity() 2636 UsingShadowDecl *USY = cast<UsingShadowDecl>(Y); in isSameEntity() 3150 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 101 void VisitUsingShadowDecl(UsingShadowDecl *D); 1096 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 180 class UsingShadowDecl; variable 4141 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow); 4144 UsingShadowDecl *&PrevShadow); 4145 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 4147 UsingShadowDecl *PrevDecl);
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 270 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 5343 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition() 5488 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 3437 const UsingShadowDecl &USD = **UD.shadow_begin(); in EmitUsingDecl()
|