Home
last modified time | relevance | path

Searched refs:UsingDecl (Results 1 – 25 of 34) sorted by relevance

12

/external/clang/test/Modules/
Dusing-decl.cpp9 namespace UsingDecl { namespace
12 int k = UsingDecl::merged;
60 UsingDecl::using_decl_type x = UsingDecl::using_decl_var;
61 UsingDecl::inner y = x;
Dno-linkage.cpp9 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/
Ddecls.h1 namespace RealNS { int UsingDecl; } variable
5 using RealNS::UsingDecl;
/external/clang/test/Modules/Inputs/
Dusing-decl-b.h1 namespace UsingDecl {
8 namespace UsingDecl {
Dusing-decl-a.h5 namespace UsingDecl {
/external/clang/lib/AST/
DDeclCXX.cpp979 if (UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
2147 SourceLocation Loc, UsingDecl *Using, in UsingShadowDecl()
2166 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
2171 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl()
2178 SourceLocation Loc, UsingDecl *Using, in Create()
2193 void UsingDecl::anchor() { } in anchor()
2195 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
2205 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
2226 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
2230 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
[all …]
DDeclPrinter.cpp92 void VisitUsingDecl(UsingDecl *D);
1343 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
DASTDumper.cpp473 void VisitUsingDecl(const UsingDecl *D);
1471 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/external/clang/include/clang/AST/
DDeclCXX.h46 class UsingDecl; variable
2844 friend class UsingDecl; variable
2859 UsingDecl *Using, NamedDecl *Target);
2864 SourceLocation Loc, UsingDecl *Using, in Create()
2900 UsingDecl *getUsingDecl() const;
2947 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl()
2972 UsingDecl *Using, NamedDecl *Target,
3039 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> {
3059 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function
3153 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
[all …]
DASTContext.h70 class UsingDecl; variable
378 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
805 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
809 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
/external/clang/unittests/AST/
DSourceLocationTest.cpp290 TEST(UsingDecl, SourceRange) { in TEST() argument
291 RangeVerifier<UsingDecl> Verifier; in TEST()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp2348 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
2381 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
2487 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingTypenameDecl()
2511 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D); in VisitUnresolvedUsingValueDecl()
4471 static bool isInstantiationOf(UsingDecl *Pattern, in isInstantiationOf()
4472 UsingDecl *Instance, in isInstantiationOf()
4478 UsingDecl *Instance, in isInstantiationOf()
4484 UsingDecl *Instance, in isInstantiationOf()
4510 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf()
4517 if (UsingDecl *UD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOf()
[all …]
DSemaDeclCXX.cpp5090 UsingDecl *ConstructedBaseUsing = nullptr; in InheritedConstructorInfo()
7891 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl()
7960 if (isa<UsingDecl>(D)) in CheckUsingShadowDecl()
8042 UsingDecl *UD, in BuildUsingShadowDecl()
8317 UsingDecl *UD = in BuildUsingDeclaration()
8318 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
8448 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
8470 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
8522 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
DTreeTransform.h9683 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedLookupExpr()
9684 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedLookupExpr()
10569 if (isa<UsingDecl>(InstD)) { in TransformUnresolvedMemberExpr()
10570 UsingDecl *UD = cast<UsingDecl>(InstD); in TransformUnresolvedMemberExpr()
11631 if (isa<UsingDecl>(D)) { in RebuildUnresolvedUsingType()
11632 UsingDecl *Using = cast<UsingDecl>(D); in RebuildUnresolvedUsingType()
/external/clang/lib/CodeGen/
DCGDebugInfo.h41 class UsingDecl; variable
363 void EmitUsingDecl(const UsingDecl &UD);
/external/clang/tools/libclang/
DCursorVisitor.h238 bool VisitUsingDecl(UsingDecl *D);
DCIndex.cpp1200 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
5472 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getCursorReferenced()
5707 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), in clang_getCursorDefinition()
5831 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getNumOverloadedDecls()
5854 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in clang_getOverloadedDecl()
5856 UsingDecl::shadow_iterator Pos = Using->shadow_begin(); in clang_getOverloadedDecl()
DCXIndexDataConsumer.cpp117 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1148 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
2776 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() local
2777 return InnerMatcher.matches(*UsingDecl, Finder, Builder); in AST_MATCHER_P()
4230 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl, in AST_MATCHER_P() argument
/external/clang/lib/Index/
DIndexDecl.cpp351 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
DUSRGeneration.cpp102 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/external/clang/include/clang/Sema/
DOverload.h811 if (isa<UsingDecl>(ND)) in getConstructorInfo()
DSema.h182 class UsingDecl; variable
4194 UsingDirectiveDecl * &UsingDecl);
4235 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
4238 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
4261 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
/external/clang/lib/Serialization/
DASTReaderDecl.cpp325 void VisitUsingDecl(UsingDecl *D);
1402 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
2757 if (auto *UX = dyn_cast<UsingDecl>(X)) { in isSameEntity()
2758 auto *UY = cast<UsingDecl>(Y); in isSameEntity()
3259 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp108 void VisitUsingDecl(UsingDecl *D);
1110 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()

12