Home
last modified time | relevance | path

Searched refs:UsingShadowDecl (Results 1 – 25 of 27) sorted by relevance

12

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclCXX.h2779 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 …]
HDASTContext.h69 class UsingShadowDecl; variable
363 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
740 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
741 UsingShadowDecl *Pattern);
742 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
HDDataRecursiveASTVisitor.h1384 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
HDRecursiveASTVisitor.h1458 DEF_TRAVERSE_DECL(UsingShadowDecl, {})
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclCXX.cpp930 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 …]
HDDecl.cpp1530 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()
HDDeclPrinter.cpp93 void VisitUsingShadowDecl(UsingShadowDecl *D);
1305 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
HDASTDumper.cpp461 void VisitUsingShadowDecl(const UsingShadowDecl *D);
1399 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
HDASTContext.cpp1186 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/
HDASTMatchers.h2384 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/
HDSemaTemplateInstantiateDecl.cpp2327 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()
HDSemaOverload.cpp889 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 …]
HDSemaLookup.cpp2686 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()
HDSemaDeclCXX.cpp6376 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 …]
HDSemaAccess.cpp1297 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1298 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
HDSemaCodeComplete.cpp822 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()
HDSemaInit.cpp3882 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()
HDSemaDecl.cpp1309 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()
HDSemaChecking.cpp4812 if (const UsingShadowDecl *UsingD = dyn_cast<UsingShadowDecl>(I)) { in emitReplacement()
HDSemaExpr.cpp2647 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/
HDASTReaderDecl.cpp325 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()
HDASTWriterDecl.cpp101 void VisitUsingShadowDecl(UsingShadowDecl *D);
1046 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h179 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/
HDASTUnit.cpp269 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGDebugInfo.cpp3250 const UsingShadowDecl &USD = **UD.shadow_begin(); in EmitUsingDecl()

12