/external/clang/test/Modules/ |
D | using-decl.cpp | 7 UsingDecl::using_decl_type x = UsingDecl::using_decl_var; 8 UsingDecl::inner y = x;
|
/external/clang/test/Modules/Inputs/ |
D | using-decl-b.h | 1 namespace UsingDecl { 8 namespace UsingDecl {
|
D | using-decl-a.h | 4 namespace UsingDecl {
|
/external/clang/lib/AST/ |
D | DeclCXX.cpp | 2056 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl() 2061 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl() 2064 void UsingDecl::anchor() { } in anchor() 2066 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl() 2076 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl() 2097 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create() 2101 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create() 2104 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 2105 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized() 2110 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
|
D | DeclPrinter.cpp | 83 void VisitUsingDecl(UsingDecl *D); 1181 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
D | ASTDumper.cpp | 455 void VisitUsingDecl(const UsingDecl *D); 1357 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
|
D | Decl.cpp | 1529 if (auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces() 1533 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
|
D | ASTContext.cpp | 1142 ASTContext::getInstantiatedFromUsingDecl(UsingDecl *UUD) { in getInstantiatedFromUsingDecl() 1143 llvm::DenseMap<UsingDecl *, NamedDecl *>::const_iterator Pos in getInstantiatedFromUsingDecl() 1152 ASTContext::setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern) { in setInstantiatedFromUsingDecl() 1153 assert((isa<UsingDecl>(Pattern) || in setInstantiatedFromUsingDecl()
|
/external/clang/include/clang/AST/ |
D | DeclCXX.h | 44 class UsingDecl; variable 2784 friend class UsingDecl; variable 2787 UsingDecl *Using, NamedDecl *Target) in UsingShadowDecl() 2811 SourceLocation Loc, UsingDecl *Using, in Create() 2846 UsingDecl *getUsingDecl() const; 2867 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> { 2887 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function 2981 static UsingDecl *Create(ASTContext &C, DeclContext *DC, 2987 static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID); 2992 UsingDecl *getCanonicalDecl() override { return getFirstDecl(); } in getCanonicalDecl() [all …]
|
D | ASTContext.h | 68 class UsingDecl; variable 350 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl; 723 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst); 727 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
|
D | DataRecursiveASTVisitor.h | 1349 DEF_TRAVERSE_DECL(UsingDecl, {
|
/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 | 2212 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 2240 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl() 2335 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingTypenameDecl() 2359 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingValueDecl() 4208 static bool isInstantiationOf(UsingDecl *Pattern, in isInstantiationOf() 4209 UsingDecl *Instance, in isInstantiationOf() 4215 UsingDecl *Instance, in isInstantiationOf() 4221 UsingDecl *Instance, in isInstantiationOf() 4247 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf() 4254 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf() [all …]
|
D | TreeTransform.h | 8705 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedLookupExpr() 8706 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedLookupExpr() 9553 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedMemberExpr() 9554 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedMemberExpr() 10536 if (isa<UsingDecl>(D)) { in RebuildUnresolvedUsingType() 10537 UsingDecl *Using = cast<UsingDecl>(D); in RebuildUnresolvedUsingType()
|
D | SemaDeclCXX.cpp | 7703 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl() 7833 UsingDecl *UD, in BuildUsingShadowDecl() 8081 UsingDecl *UD = in BuildUsingDeclaration() 8082 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, NameInfo, in BuildUsingDeclaration() 8193 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration() 8216 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl() 8268 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.h | 39 class UsingDecl; variable 290 void EmitUsingDecl(const UsingDecl &UD);
|
D | CGDecl.cpp | 101 DI->EmitUsingDecl(cast<UsingDecl>(D)); in EmitDecl()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 235 bool VisitUsingDecl(UsingDecl *D);
|
D | IndexDecl.cpp | 256 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
|
D | CIndex.cpp | 1154 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 4855 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getCursorReferenced() 5083 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), in clang_getCursorDefinition() 5206 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getNumOverloadedDecls() 5229 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in clang_getOverloadedDecl() 5231 UsingDecl::shadow_iterator Pos = Using->shadow_begin(); in clang_getOverloadedDecl()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 931 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl; 2355 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() local 2356 return InnerMatcher.matches(*UsingDecl, Finder, Builder); in AST_MATCHER_P() 3229 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 | 319 void VisitUsingDecl(UsingDecl *D); 1245 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 2557 if (auto *UX = dyn_cast<UsingDecl>(X)) { in isSameEntity() 2558 auto *UY = cast<UsingDecl>(Y); in isSameEntity() 3021 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
D | ASTWriterDecl.cpp | 100 void VisitUsingDecl(UsingDecl *D); 1037 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 177 class UsingDecl; variable 3893 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target, 3896 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD, 3919 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
|