| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 2775 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> { 2786 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, in UsingShadowDecl() function 2798 typedef Redeclarable<UsingShadowDecl> redeclarable_base; 2799 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl() 2802 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl() 2805 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl() 2810 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 2813 return new (C, DC) UsingShadowDecl(C, DC, Loc, Using, Target); in Create() 2816 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2826 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl() [all …]
|
| H A D | ASTContext.h | 69 class UsingShadowDecl; variable 352 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*> 728 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, 729 UsingShadowDecl *Pattern); 730 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
|
| H A D | DataRecursiveASTVisitor.h | 1356 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
| H A D | RecursiveASTVisitor.h | 1428 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 930 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() 2036 void UsingShadowDecl::anchor() { } in anchor() 2038 UsingShadowDecl * 2039 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2040 return new (C, ID) UsingShadowDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 2044 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2045 const UsingShadowDecl *Shadow = this; in getUsingDecl() 2046 while (const UsingShadowDecl *NextShadow = in getUsingDecl() 2047 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getUsingDecl() 2054 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl() [all …]
|
| H A D | Decl.cpp | 1480 if (isa<UsingShadowDecl>(this) && isa<UsingShadowDecl>(OldD)) in declarationReplaces() 1481 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces() 1482 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces() 1524 while (UsingShadowDecl *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl() 1538 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember() 1539 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
| H A D | DeclPrinter.cpp | 84 void VisitUsingShadowDecl(UsingShadowDecl *D); 1204 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| H A D | ASTDumper.cpp | 458 void VisitUsingShadowDecl(const UsingShadowDecl *D); 1371 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| H A D | ASTContext.cpp | 1152 UsingShadowDecl * 1153 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl() 1154 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl() 1163 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl() 1164 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl() 6246 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2229 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 2231 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 3098 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 3115 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 2283 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() 2287 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl() 2289 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl() 2293 UsingShadowDecl *InstShadow = in VisitUsingDecl() 2305 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 4208 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf() 4209 UsingShadowDecl *Instance, in isInstantiationOf() 4304 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() 4305 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf() 4538 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
|
| H A D | SemaOverload.cpp | 883 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload() 890 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 905 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload() 3104 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion() 3105 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4044 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit() 4045 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5261 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates() 5262 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 5896 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate() [all …]
|
| H A D | SemaLookup.cpp | 2524 if (UsingShadowDecl *U = dyn_cast<UsingShadowDecl>(Cand)) { in LookupSpecialMember() 2703 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator() 2882 if (isa<UsingShadowDecl>(D)) in ArgumentDependentLookup() 2883 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
|
| H A D | SemaDeclCXX.cpp | 6280 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods() 7642 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl() 7693 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl() 7694 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 7707 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() 7769 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl() 7772 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 7776 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl() 7777 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl() 7778 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl() [all …]
|
| H A D | SemaAccess.cpp | 1297 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() 1298 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
|
| H A D | SemaCodeComplete.cpp | 823 if (const UsingShadowDecl *Using = in MaybeAddResult() 824 dyn_cast<UsingShadowDecl>(R.Declaration)) { in MaybeAddResult() 940 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in AddResult() 1153 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsType() 1163 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsMember()
|
| H A D | SemaInit.cpp | 3596 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction() 3597 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 4228 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion() 4229 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
| H A D | SemaDecl.cpp | 1253 return isa<UsingShadowDecl>(D) || in isUsingDecl() 2485 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl()
|
| H A D | SemaChecking.cpp | 4280 if (const UsingShadowDecl *UsingD = dyn_cast<UsingShadowDecl>(I)) { in emitReplacement()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 307 void VisitUsingShadowDecl(UsingShadowDecl *D); 1223 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl() 1230 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 1235 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl() 2497 if (UsingShadowDecl *USX = dyn_cast<UsingShadowDecl>(X)) { in isSameEntity() 2498 UsingShadowDecl *USY = cast<UsingShadowDecl>(Y); in isSameEntity() 2945 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| H A D | ASTWriterDecl.cpp | 101 void VisitUsingShadowDecl(UsingShadowDecl *D); 973 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 178 class UsingShadowDecl; variable 3948 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow); 3951 UsingShadowDecl *&PrevShadow); 3952 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 3954 UsingShadowDecl *PrevDecl);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 276 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()
|
| /minix3/external/bsd/llvm/dist/clang/tools/libclang/ |
| H A D | CIndex.cpp | 5024 MakeCXCursor(cast<UsingShadowDecl>(D)->getTargetDecl(), in clang_getCursorDefinition() 5169 return MakeCXCursor(cast<UsingShadowDecl>(*Pos)->getTargetDecl(), TU); in clang_getOverloadedDecl()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 3299 const UsingShadowDecl &USD = **UD.shadow_begin(); in EmitUsingDecl()
|