Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp184 if (llvm::isa<UsingDecl>(Decl)) in VisitNamedDecl()
342 bool VisitUsingDecl(const UsingDecl *Using) { in VisitUsingDecl()
462 const std::vector<const UsingDecl *> &getUsingDecls() const { in getUsingDecls()
515 std::vector<const UsingDecl *> UsingDecls;
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl; variable
3179 friend class UsingDecl; variable
3206 UsingDecl *Using, NamedDecl *Target);
3214 SourceLocation Loc, UsingDecl *Using, in Create()
3255 UsingDecl *getUsingDecl() const;
3297 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl()
3327 UsingDecl *Using, NamedDecl *Target,
3385 class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> {
3403 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function
3504 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
[all …]
H A DTextNodeDumper.h350 void VisitUsingDecl(const UsingDecl *D);
H A DJSONNodeDumper.h236 void VisitUsingDecl(const UsingDecl *UD);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp1372 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember()
2986 SourceLocation Loc, UsingDecl *Using, in UsingShadowDecl()
3004 UsingDecl *UsingShadowDecl::getUsingDecl() const { in getUsingDecl()
3009 return cast<UsingDecl>(Shadow->UsingOrNextShadow); in getUsingDecl()
3016 SourceLocation Loc, UsingDecl *Using, in Create()
3031 void UsingDecl::anchor() {} in anchor()
3033 void UsingDecl::addShadowDecl(UsingShadowDecl *S) { in addShadowDecl()
3043 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) { in removeShadowDecl()
3064 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create()
3068 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create()
[all …]
H A DDeclPrinter.cpp100 void VisitUsingDecl(UsingDecl *D);
1592 void DeclPrinter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
H A DJSONNodeDumper.cpp749 void JSONNodeDumper::VisitUsingDecl(const UsingDecl *UD) { in VisitUsingDecl()
H A DDecl.cpp1764 if (auto *UD = dyn_cast<UsingDecl>(this)) { in declarationReplaces()
1768 cast<UsingDecl>(OldD)->getQualifier()); in declarationReplaces()
H A DTextNodeDumper.cpp2049 void TextNodeDumper::VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCursorVisitor.h239 bool VisitUsingDecl(UsingDecl *D);
H A DCIndex.cpp1241 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
6297 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getCursorReferenced()
6543 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D), D->getLocation(), in clang_getCursorDefinition()
6668 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) in clang_getNumOverloadedDecls()
6691 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) { in clang_getOverloadedDecl()
6693 UsingDecl::shadow_iterator Pos = Using->shadow_begin(); in clang_getOverloadedDecl()
H A DCXIndexDataConsumer.cpp116 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.h44 class UsingDecl; variable
506 void EmitUsingDecl(const UsingDecl &UD);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp252 if (llvm::isa<RecordDecl>(D) || llvm::isa<UsingDecl>(D)) in getTerminators()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp2982 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3015 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner, in VisitUsingDecl()
5627 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance, in isInstantiationOf()
5649 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) { in isInstantiationOfUnresolvedUsingDecl()
5718 if (auto *Using = dyn_cast<UsingDecl>(Other)) in isInstantiationOf()
5719 return isInstantiationOf(cast<UsingDecl>(D), Using, Ctx); in isInstantiationOf()
H A DSemaDeclCXX.cpp7003 UsingDecl *ConstructedBaseUsing = nullptr; in InheritedConstructorInfo()
11636 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig, in CheckUsingShadowDecl()
11707 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D)) in CheckUsingShadowDecl()
11805 UsingDecl *UD, in BuildUsingShadowDecl()
12094 UsingDecl *UD = in BuildUsingDeclaration()
12095 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, in BuildUsingDeclaration()
12236 UsingDecl *UD = BuildValid(); in BuildUsingDeclaration()
12271 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) { in CheckInheritingConstructorUsingDecl()
12323 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(D) && !isa<UsingPackDecl>(D)) { in CheckUsingDeclRedeclaration()
12343 if (UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in CheckUsingDeclRedeclaration()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DOverload.h1172 if (isa<UsingDecl>(ND)) in getConstructorInfo()
H A DSema.h204 class UsingDecl; variable
5604 UsingDirectiveDecl *&UsingDecl);
5678 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
5681 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
5704 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1753 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
4132 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl)) in AST_MATCHER_P() local
4133 return InnerMatcher.matches(*UsingDecl, Finder, Builder); in AST_MATCHER_P()
6200 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl, in AST_MATCHER_P() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexDecl.cpp591 bool VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
H A DUSRGeneration.cpp115 void VisitUsingDecl(const UsingDecl *D) { in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp391 void VisitUsingDecl(UsingDecl *D);
1642 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
3235 if (const auto *UX = dyn_cast<UsingDecl>(X)) { in isSameEntity()
3236 const auto *UY = cast<UsingDecl>(Y); in isSameEntity()
3833 D = UsingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp115 void VisitUsingDecl(UsingDecl *D);
1269 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp843 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1554 bool WalkUpFromUsingDecl(UsingDecl *S) { in WalkUpFromUsingDecl()

12