/external/clang/test/Modules/ |
D | using-decl.cpp | 9 namespace UsingDecl { namespace 12 int k = UsingDecl::merged; 60 UsingDecl::using_decl_type x = UsingDecl::using_decl_var; 61 UsingDecl::inner y = x;
|
D | no-linkage.cpp | 9 int UsingDecl; // expected-note {{candidate}} variable 34 use(UsingDecl); in use_things() 49 use(UsingDecl); // expected-error {{ambiguous}} in use_things_again()
|
/external/clang/test/Modules/Inputs/no-linkage/ |
D | decls.h | 1 namespace RealNS { int UsingDecl; } variable 5 using RealNS::UsingDecl;
|
/external/clang/test/Modules/Inputs/ |
D | using-decl-b.h | 1 namespace UsingDecl { 8 namespace UsingDecl {
|
D | using-decl-a.h | 5 namespace UsingDecl {
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 2072 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2077 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl() 2080 void UsingDecl::anchor() { } in anchor() 2082 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl() 2092 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl() 2113 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create() 2117 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create() 2120 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2121 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized() 2126 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
|
D | DeclPrinter.cpp | 92 void VisitUsingDecl(UsingDecl *D); 1320 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
D | ASTDumper.cpp | 460 void VisitUsingDecl(const UsingDecl *D); 1386 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
|
D | Decl.cpp | 1544 if (auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces() 1548 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 44 class UsingDecl; variable 2778 friend class UsingDecl; variable 2781 UsingDecl *Using, NamedDecl *Target) in UsingShadowDecl() 2805 SourceLocation Loc, UsingDecl *Using, in Create() 2840 UsingDecl *getUsingDecl() const; 2861 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> { 2881 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function 2975 static UsingDecl *Create(ASTContext &C, DeclContext *DC, 2981 static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2986 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
D | ASTContext.h | 68 class UsingDecl; variable 369 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl; 795 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst); 799 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 290 TEST(UsingDecl, SourceRange) { in TEST() argument 291 RangeVerifier<UsingDecl> Verifier; in TEST()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 2276 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 2304 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl() 2399 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingTypenameDecl() 2423 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingValueDecl() 4261 static bool isInstantiationOf(UsingDecl *Pattern, in isInstantiationOf() 4262 UsingDecl *Instance, in isInstantiationOf() 4268 UsingDecl *Instance, in isInstantiationOf() 4274 UsingDecl *Instance, in isInstantiationOf() 4300 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf() 4307 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf() [all …]
|
D | TreeTransform.h | 9376 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedLookupExpr() 9377 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedLookupExpr() 10232 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedMemberExpr() 10233 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedMemberExpr() 11291 if (isa<UsingDecl>(D)) { in RebuildUnresolvedUsingType() 11292 UsingDecl *Using = cast<UsingDecl>(D); in RebuildUnresolvedUsingType()
|
D | SemaDeclCXX.cpp | 7727 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl() 7858 UsingDecl *UD, in BuildUsingShadowDecl() 8110 UsingDecl *UD = in BuildUsingDeclaration() 8111 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, NameInfo, in BuildUsingDeclaration() 8222 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration() 8245 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl() 8297 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 40 class UsingDecl; variable 354 void EmitUsingDecl(const UsingDecl &UD);
|
D | CGDecl.cpp | 105 DI->EmitUsingDecl(cast<UsingDecl>(D)); in EmitDecl()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 238 bool VisitUsingDecl(UsingDecl *D);
|
D | IndexDecl.cpp | 256 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
|
D | CIndex.cpp | 1198 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 5107 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getCursorReferenced() 5338 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), in clang_getCursorDefinition() 5461 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getNumOverloadedDecls() 5484 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in clang_getOverloadedDecl() 5486 UsingDecl::shadow_iterator Pos = Using->shadow_begin(); in clang_getOverloadedDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1002 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl; 2480 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() local 2481 return InnerMatcher.matches(*UsingDecl, Finder, Builder); in AST_MATCHER_P() 3648 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl, in AST_MATCHER_P() argument
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 99 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 301 void VisitUsingDecl(UsingDecl *D); 1345 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 2642 if (auto *UX = dyn_cast<UsingDecl>(X)) { in isSameEntity() 2643 auto *UY = cast<UsingDecl>(Y); in isSameEntity() 3147 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 100 void VisitUsingDecl(UsingDecl *D); 1085 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 179 class UsingDecl; variable 4101 UsingDirectiveDecl * &UsingDecl); 4142 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target, 4145 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 4168 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
|