/external/clang/include/clang/AST/ |
D | DeclCXX.h | 2835 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> { 2846 typedef Redeclarable<UsingShadowDecl> redeclarable_base; 2847 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl() 2850 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl() 2853 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl() 2858 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc, 2860 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell); 2863 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 2866 return new (C, DC) UsingShadowDecl(UsingShadow, C, DC, Loc, Using, Target); in Create() 2869 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID); [all …]
|
D | ASTContext.h | 71 class UsingShadowDecl; variable 380 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*> 811 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, 812 UsingShadowDecl *Pattern); 813 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
|
D | RecursiveASTVisitor.h | 1496 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 971 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() 2144 void UsingShadowDecl::anchor() { } in anchor() 2146 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, in UsingShadowDecl() function in UsingShadowDecl 2157 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty) in UsingShadowDecl() function in UsingShadowDecl 2161 UsingShadowDecl * 2162 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2163 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell()); in CreateDeserialized() 2166 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2167 const UsingShadowDecl *Shadow = this; in getUsingDecl() 2168 while (const UsingShadowDecl *NextShadow = in getUsingDecl() [all …]
|
D | DeclPrinter.cpp | 93 void VisitUsingShadowDecl(UsingShadowDecl *D); 1366 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
D | Decl.cpp | 1604 while (auto *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl() 1621 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember() 1622 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
D | ASTDumper.cpp | 476 void VisitUsingShadowDecl(const UsingShadowDecl *D); 1494 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
D | ASTContext.cpp | 1226 UsingShadowDecl * 1227 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl() 1228 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl() 1237 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl() 1238 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl() 6546 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 455 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D)) in maybeAddCUDAHostDeviceAttrs()
|
D | SemaTemplateInstantiateDecl.cpp | 2434 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() 2438 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl() 2440 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl() 2444 UsingShadowDecl *InstShadow = in VisitUsingDecl() 2456 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 4464 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf() 4465 UsingShadowDecl *Instance, in isInstantiationOf() 4560 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() 4561 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf() 4818 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
|
D | SemaOverload.cpp | 934 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload() 941 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 961 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload() 3227 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion() 3228 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4173 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit() 4174 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5437 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates() 5438 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 6090 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate() [all …]
|
D | SemaLookup.cpp | 367 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) && in isPreferredLookupResult() 368 !isa<UsingShadowDecl>(Existing)) in isPreferredLookupResult() 3129 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator() 3309 if (isa<UsingShadowDecl>(D)) in ArgumentDependentLookup() 3310 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
|
D | SemaDeclCXX.cpp | 6532 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods() 7893 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl() 7944 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl() 7945 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 7964 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() 8041 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl() 8044 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 8047 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl() 8048 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl() 8049 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl() [all …]
|
D | SemaAccess.cpp | 1297 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() 1298 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
|
D | SemaInit.cpp | 4017 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction() 4018 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 4638 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion() 4639 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
D | SemaCodeComplete.cpp | 839 if (const UsingShadowDecl *Using = in MaybeAddResult() 840 dyn_cast<UsingShadowDecl>(R.Declaration)) { in MaybeAddResult() 956 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in AddResult()
|
D | SemaDecl.cpp | 1351 return isa<UsingShadowDecl>(D) || in isUsingDecl() 2678 static bool checkUsingShadowRedecl(Sema &S, UsingShadowDecl *OldS, in checkUsingShadowRedecl() 2744 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl() 3487 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 3494 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 12628 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) { in ActOnTag()
|
D | SemaExpr.cpp | 2686 assert(isa<UsingShadowDecl>(FoundDecl)); in PerformObjectMemberConversion() 2754 if (isa<UsingShadowDecl>(D)) in UseArgumentDependentLookup() 2755 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 2774 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 2776 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 4231 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 4248 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 326 void VisitUsingShadowDecl(UsingShadowDecl *D); 1407 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl() 1414 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 1419 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl() 2750 if (UsingShadowDecl *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity() 2751 UsingShadowDecl *USY = cast<UsingShadowDecl>(Y); in isSameEntity() 3262 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 109 void VisitUsingShadowDecl(UsingShadowDecl *D); 1121 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 183 class UsingShadowDecl; variable 4234 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow); 4237 UsingShadowDecl *&PrevShadow); 4238 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 4240 UsingShadowDecl *PrevDecl);
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 270 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 5713 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition() 5858 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 3650 const UsingShadowDecl &USD = **UD.shadow_begin(); in EmitUsingDecl()
|