Home
last modified time | relevance | path

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

12

/external/clang/test/Modules/
Dusing-decl.cpp7 UsingDecl::using_decl_type x = UsingDecl::using_decl_var;
8 UsingDecl::inner y = x;
/external/clang/test/Modules/Inputs/
Dusing-decl-b.h1 namespace UsingDecl {
8 namespace UsingDecl {
Dusing-decl-a.h4 namespace UsingDecl {
/external/clang/lib/AST/
DDeclCXX.cpp2056 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()
DDeclPrinter.cpp83 void VisitUsingDecl(UsingDecl *D);
1181 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
DASTDumper.cpp455 void VisitUsingDecl(const UsingDecl *D);
1357 void ASTDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
DDecl.cpp1529 if (auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1533 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
DASTContext.cpp1142 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/
DDeclCXX.h44 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 …]
DASTContext.h68 class UsingDecl; variable
350 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
723 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
727 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
DDataRecursiveASTVisitor.h1349 DEF_TRAVERSE_DECL(UsingDecl, {
/external/clang/unittests/AST/
DSourceLocationTest.cpp290 TEST(UsingDecl, SourceRange) { in TEST() argument
291 RangeVerifier<UsingDecl> Verifier; in TEST()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp2212 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 …]
DTreeTransform.h8705 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()
DSemaDeclCXX.cpp7703 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/
DCGDebugInfo.h39 class UsingDecl; variable
290 void EmitUsingDecl(const UsingDecl &UD);
DCGDecl.cpp101 DI->EmitUsingDecl(cast<UsingDecl>(D)); in EmitDecl()
/external/clang/tools/libclang/
DCursorVisitor.h235 bool VisitUsingDecl(UsingDecl *D);
DIndexDecl.cpp256 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
DCIndex.cpp1154 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/
DASTMatchers.h931 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/
DUSRGeneration.cpp99 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp319 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()
DASTWriterDecl.cpp100 void VisitUsingDecl(UsingDecl *D);
1037 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/external/clang/include/clang/Sema/
DSema.h177 class UsingDecl; variable
3893 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
3896 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
3919 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);

12