| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | DeclCXX.h | 2779 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> { 2790 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, in UsingShadowDecl() function 2802 typedef Redeclarable<UsingShadowDecl> redeclarable_base; 2803 UsingShadowDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl() 2806 UsingShadowDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl() 2809 UsingShadowDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl() 2814 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC, in Create() 2817 return new (C, DC) UsingShadowDecl(C, DC, Loc, Using, Target); in Create() 2820 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2830 UsingShadowDecl *getCanonicalDecl() override { in getCanonicalDecl() [all …]
|
| HD | ASTContext.h | 69 class UsingShadowDecl; variable 363 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*> 740 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, 741 UsingShadowDecl *Pattern); 742 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
|
| HD | DataRecursiveASTVisitor.h | 1384 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
| HD | RecursiveASTVisitor.h | 1458 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclCXX.cpp | 930 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(D)) { in addedMember() 2070 void UsingShadowDecl::anchor() { } in anchor() 2072 UsingShadowDecl * 2073 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2074 return new (C, ID) UsingShadowDecl(C, nullptr, SourceLocation(), in CreateDeserialized() 2078 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2079 const UsingShadowDecl *Shadow = this; in getUsingDecl() 2080 while (const UsingShadowDecl *NextShadow = in getUsingDecl() 2081 dyn_cast<UsingShadowDecl>(Shadow->UsingOrNextShadow)) in getUsingDecl() 2088 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl() [all …]
|
| HD | Decl.cpp | 1530 if (auto *USD = dyn_cast<UsingShadowDecl>(this)) in declarationReplaces() 1531 if (USD->getTargetDecl() != cast<UsingShadowDecl>(OldD)->getTargetDecl()) in declarationReplaces() 1583 while (UsingShadowDecl *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl() 1597 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember() 1598 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
|
| HD | DeclPrinter.cpp | 93 void VisitUsingShadowDecl(UsingShadowDecl *D); 1305 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| HD | ASTDumper.cpp | 461 void VisitUsingShadowDecl(const UsingShadowDecl *D); 1399 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| HD | ASTContext.cpp | 1186 UsingShadowDecl * 1187 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl() 1188 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl() 1197 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl() 1198 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl() 6374 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 2384 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 2386 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() 3295 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument 3312 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaTemplateInstantiateDecl.cpp | 2327 UsingShadowDecl *PrevDecl = nullptr; in VisitUsingDecl() 2331 } else if (UsingShadowDecl *OldPrev = in VisitUsingDecl() 2333 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl() 2337 UsingShadowDecl *InstShadow = in VisitUsingDecl() 2349 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 4247 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf() 4248 UsingShadowDecl *Instance, in isInstantiationOf() 4343 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf() 4344 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf() 4601 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
|
| HD | SemaOverload.cpp | 889 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload() 896 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload() 911 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload() 3100 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion() 3101 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion() 4042 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit() 4043 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit() 5300 if (isa<UsingShadowDecl>(D)) in collectViableConversionCandidates() 5301 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in collectViableConversionCandidates() 5936 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate() [all …]
|
| HD | SemaLookup.cpp | 2686 if (UsingShadowDecl *U = dyn_cast<UsingShadowDecl>(Cand)) { in LookupSpecialMember() 2865 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator() 3044 if (isa<UsingShadowDecl>(D)) in ArgumentDependentLookup() 3045 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
|
| HD | SemaDeclCXX.cpp | 6376 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in FindHiddenVirtualMethods() 7738 UsingShadowDecl *&PrevShadow) { in CheckUsingShadowDecl() 7789 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl() 7790 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl() 7803 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I)) in CheckUsingShadowDecl() 7865 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl() 7868 UsingShadowDecl *PrevDecl) { in BuildUsingShadowDecl() 7872 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl() 7873 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl() 7874 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl() [all …]
|
| HD | SemaAccess.cpp | 1297 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug() 1298 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
|
| HD | 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()
|
| HD | SemaInit.cpp | 3882 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction() 3883 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction() 4513 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion() 4514 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
|
| HD | SemaDecl.cpp | 1309 return isa<UsingShadowDecl>(D) || in isUsingDecl() 2587 static bool checkUsingShadowRedecl(Sema &S, UsingShadowDecl *OldS, in checkUsingShadowRedecl() 2638 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(OldD)) { in MergeFunctionDecl() 3345 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 3352 dyn_cast<UsingShadowDecl>(Previous.getRepresentativeDecl())) in MergeVarDecl() 11861 if (auto *Shadow = dyn_cast<UsingShadowDecl>(DirectPrevDecl)) { in ActOnTag()
|
| HD | SemaChecking.cpp | 4812 if (const UsingShadowDecl *UsingD = dyn_cast<UsingShadowDecl>(I)) { in emitReplacement()
|
| HD | SemaExpr.cpp | 2647 assert(isa<UsingShadowDecl>(FoundDecl)); in PerformObjectMemberConversion() 2717 if (isa<UsingShadowDecl>(D)) in UseArgumentDependentLookup() 2718 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in UseArgumentDependentLookup()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderDecl.cpp | 325 void VisitUsingShadowDecl(UsingShadowDecl *D); 1370 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl() 1377 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl() 1382 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() 3148 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| HD | ASTWriterDecl.cpp | 101 void VisitUsingShadowDecl(UsingShadowDecl *D); 1046 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Sema.h | 179 class UsingShadowDecl; variable 4073 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow); 4076 UsingShadowDecl *&PrevShadow); 4077 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 4079 UsingShadowDecl *PrevDecl);
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | ASTUnit.cpp | 269 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGDebugInfo.cpp | 3250 const UsingShadowDecl &USD = **UD.shadow_begin(); in EmitUsingDecl()
|