Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DDeclCXX.cpp874 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(D)) in addedMember()
946 if (isa<UsingShadowDecl>(Conv)) in GetConversionType()
947 Conv = cast<UsingShadowDecl>(Conv)->getTargetDecl(); in GetConversionType()
1878 void UsingShadowDecl::anchor() { } in anchor()
1880 UsingShadowDecl *
1881 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
1882 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(UsingShadowDecl)); in CreateDeserialized()
1883 return new (Mem) UsingShadowDecl(0, SourceLocation(), 0, 0); in CreateDeserialized()
1886 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
1887 const UsingShadowDecl *Shadow = this; in getUsingDecl()
[all …]
DDecl.cpp1251 if (isa<UsingShadowDecl>(this) && isa<UsingShadowDecl>(OldD)) in declarationReplaces()
1252 return cast<UsingShadowDecl>(this)->getTargetDecl() == in declarationReplaces()
1253 cast<UsingShadowDecl>(OldD)->getTargetDecl(); in declarationReplaces()
1281 while (UsingShadowDecl *UD = dyn_cast<UsingShadowDecl>(ND)) in getUnderlyingDeclImpl()
1295 if (isa<UsingShadowDecl>(D)) in isCXXInstanceMember()
1296 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in isCXXInstanceMember()
DDeclPrinter.cpp84 void VisitUsingShadowDecl(UsingShadowDecl *D);
1150 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
DDeclBase.cpp156 if (const UsingShadowDecl *UD = dyn_cast<UsingShadowDecl>(this)) in isFunctionOrFunctionTemplate()
DExprCXX.cpp1199 if (isa<UsingShadowDecl>(decl)) in hasOnlyNonStaticMemberFunctions()
1200 decl = cast<UsingShadowDecl>(decl)->getUnderlyingDecl(); in hasOnlyNonStaticMemberFunctions()
DASTDumper.cpp223 void VisitUsingShadowDecl(const UsingShadowDecl *D);
1063 void ASTDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) { in VisitUsingShadowDecl()
DASTContext.cpp1018 UsingShadowDecl *
1019 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) { in getInstantiatedFromUsingShadowDecl()
1020 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos in getInstantiatedFromUsingShadowDecl()
1029 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst, in setInstantiatedFromUsingShadowDecl()
1030 UsingShadowDecl *Pattern) { in setInstantiatedFromUsingShadowDecl()
5953 (isa<UsingShadowDecl>(D) && in getOverloadedTemplateName()
/external/clang/include/clang/AST/
DDeclCXX.h2620 class UsingShadowDecl : public NamedDecl {
2631 UsingShadowDecl(DeclContext *DC, SourceLocation Loc, UsingDecl *Using,
2644 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC,
2647 return new (C) UsingShadowDecl(DC, Loc, Using, Target);
2650 static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2669 UsingShadowDecl *getNextUsingShadowDecl() const {
2670 return dyn_cast_or_null<UsingShadowDecl>(UsingOrNextShadow);
2704 llvm::PointerIntPair<UsingShadowDecl *, 1, bool> FirstUsingShadow;
2744 UsingShadowDecl *Current;
2747 typedef UsingShadowDecl* value_type;
[all …]
DASTContext.h67 class UsingShadowDecl; variable
317 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
627 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
628 UsingShadowDecl *Pattern);
629 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
DRecursiveASTVisitor.h1390 DEF_TRAVERSE_DECL(UsingShadowDecl, { })
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1896 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
1898 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P()
2613 internal::Matcher<UsingShadowDecl>, InnerMatcher) { in AST_MATCHER_P() argument
2634 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl, in AST_MATCHER_P() argument
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp2076 UsingShadowDecl *Shadow = *I; in VisitUsingDecl()
2089 UsingShadowDecl *InstShadow in VisitUsingDecl()
2100 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
3288 static bool isInstantiationOf(UsingShadowDecl *Pattern, in isInstantiationOf()
3289 UsingShadowDecl *Instance, in isInstantiationOf()
3383 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(Other)) in isInstantiationOf()
3384 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx); in isInstantiationOf()
3575 if (isa<UsingShadowDecl>(D)) { in FindInstantiatedDecl()
DSemaLookup.cpp2357 if (UsingShadowDecl *U = dyn_cast<UsingShadowDecl>(Cand)) { in LookupSpecialMember()
2534 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
2588 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) in LookupLiteralOperator()
2703 if (isa<UsingShadowDecl>(D)) in ArgumentDependentLookup()
2704 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ArgumentDependentLookup()
DSemaOverload.cpp907 if (isa<UsingShadowDecl>(OldD)) { in CheckOverload()
914 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl(); in CheckOverload()
928 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload()
938 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I)); in CheckOverload()
3144 if (isa<UsingShadowDecl>(D)) in IsUserDefinedConversion()
3145 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in IsUserDefinedConversion()
4038 if (isa<UsingShadowDecl>(D)) in FindConversionForRefInit()
4039 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in FindConversionForRefInit()
5471 if (isa<UsingShadowDecl>(Decl)) in AddMethodCandidate()
5472 Decl = cast<UsingShadowDecl>(Decl)->getTargetDecl(); in AddMethodCandidate()
[all …]
DSemaAccess.cpp1307 if (UsingShadowDecl *Shadow = in IsMicrosoftUsingDeclarationAccessBug()
1308 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) { in IsMicrosoftUsingDeclarationAccessBug()
DSemaCodeComplete.cpp825 if (const UsingShadowDecl *Using = in MaybeAddResult()
826 dyn_cast<UsingShadowDecl>(R.Declaration)) { in MaybeAddResult()
941 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(R.Declaration)) { in AddResult()
1151 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsType()
1161 if (const UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(ND)) in IsMember()
DSemaDeclCXX.cpp5397 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I)) in DiagnoseHiddenVirtualMethods()
6678 if (isa<UsingShadowDecl>(Target)) in CheckUsingShadowDecl()
6679 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in CheckUsingShadowDecl()
6753 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S, in BuildUsingShadowDecl()
6759 if (isa<UsingShadowDecl>(Target)) { in BuildUsingShadowDecl()
6760 Target = cast<UsingShadowDecl>(Target)->getTargetDecl(); in BuildUsingShadowDecl()
6761 assert(!isa<UsingShadowDecl>(Target) && "nested shadow declaration"); in BuildUsingShadowDecl()
6764 UsingShadowDecl *Shadow in BuildUsingShadowDecl()
6765 = UsingShadowDecl::Create(Context, CurContext, in BuildUsingShadowDecl()
6809 void Sema::HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow) { in HideUsingShadowDecl()
DSemaInit.cpp3225 if (isa<UsingShadowDecl>(D)) in TryRefInitWithConversionFunction()
3226 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryRefInitWithConversionFunction()
3799 if (isa<UsingShadowDecl>(D)) in TryUserDefinedConversion()
3800 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in TryUserDefinedConversion()
DSemaExprCXX.cpp2052 if (isa<UsingShadowDecl>(D)) in ActOnCXXDelete()
2053 D = cast<UsingShadowDecl>(D)->getTargetDecl(); in ActOnCXXDelete()
/external/clang/include/clang/Sema/
DTemplate.h428 Decl *VisitUsingShadowDecl(UsingShadowDecl *D);
DSema.h166 class UsingShadowDecl; variable
3426 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow);
3429 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
/external/clang/lib/Serialization/
DASTReaderDecl.cpp259 void VisitUsingShadowDecl(UsingShadowDecl *D);
1039 D->FirstUsingShadow.setPointer(ReadDeclAs<UsingShadowDecl>(Record, Idx)); in VisitUsingDecl()
1045 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
1049 UsingShadowDecl *Pattern = ReadDeclAs<UsingShadowDecl>(Record, Idx); in VisitUsingShadowDecl()
2003 D = UsingShadowDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp96 void VisitUsingShadowDecl(UsingShadowDecl *D);
899 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) { in VisitUsingShadowDecl()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h1326 DEF_TRAVERSE_DECL(UsingShadowDecl, { })
/external/clang/lib/Frontend/
DASTUnit.cpp278 if (isa<UsingShadowDecl>(ND)) in getDeclShowContexts()

12