Searched refs:UsingDecl (Results 1 - 25 of 43) sorted by relevance

12

/openbsd-current/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp183 // UsingDecl has been handled in other place.
184 if (llvm::isa<UsingDecl>(Decl))
342 bool VisitUsingDecl(const UsingDecl *Using) {
462 const std::vector<const UsingDecl *> &getUsingDecls() const {
515 std::vector<const UsingDecl *> UsingDecls;
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h74 class UsingDecl;
3228 /// // add a UsingDecl and three UsingShadowDecls (named foo) to B.
3336 /// (UsingDecl makes use of it).
3426 class UsingDecl : public BaseUsingDecl, public Mergeable<UsingDecl> { class in namespace:clang
3437 UsingDecl(DeclContext *DC, SourceLocation UL, function in class:clang::UsingDecl
3480 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
3486 static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3491 UsingDecl *getCanonicalDecl() override {
3492 return cast<UsingDecl>(getFirstDec
[all...]
H A DTextNodeDumper.h362 void VisitUsingDecl(const UsingDecl *D);
H A DJSONNodeDumper.h242 void VisitUsingDecl(const UsingDecl *UD);
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCursorVisitor.h246 bool VisitUsingDecl(UsingDecl *D);
H A DCIndex.cpp1247 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) {
6557 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
6934 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
6957 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) {
6959 UsingDecl::shadow_iterator Pos = Using->shadow_begin();
H A DCXIndexDataConsumer.cpp116 bool VisitUsingDecl(const UsingDecl *D) {
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp406 auto *UsingDecl = UsingDirectiveDecl::Create( local
411 AST.getTranslationUnitDecl()->addDecl(UsingDecl);
H A DSemaTemplateInstantiateDecl.cpp3186 // the DeclSpec when parsing and save it in the UsingDecl itself?
3224 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) {
3255 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner,
3325 // Ignore these; we handle them in bulk when processing the UsingDecl.
3331 // Ignore these; we handle them in bulk when processing the UsingDecl.
5859 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance,
5881 } else if (auto *OtherUD = dyn_cast<UsingDecl>(Other)) {
5950 if (auto *Using = dyn_cast<UsingDecl>(Othe
[all...]
H A DSemaAccess.cpp1312 if (UsingDecl *UD = dyn_cast<UsingDecl>(Shadow->getIntroducer())) {
H A DSemaDeclCXX.cpp12014 if (auto *Using = dyn_cast<UsingDecl>(BUD)) {
12061 // LookupResult for checking whether the UsingDecl itself is a valid
12063 if (isa<UsingDecl>(D) || isa<UsingPackDecl>(D) || isa<UsingEnumDecl>(D))
12190 UsingDecl *Using = cast<UsingDecl>(BUD);
12482 UsingDecl *UD =
12483 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc,
12626 UsingDecl *UD = BuildValid();
12717 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) {
12769 if (!isa<TypeDecl>(D) && !isa<UsingDecl>(
[all...]
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp1360 if (const auto *Using = dyn_cast<UsingDecl>(D)) {
3055 SourceLocation Loc, UsingDecl *Using,
3101 void UsingDecl::anchor() {}
3103 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL,
3107 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename);
3110 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
3111 return new (C, ID) UsingDecl(nullptr, SourceLocation(),
3116 SourceRange UsingDecl
[all...]
H A DDeclPrinter.cpp101 void VisitUsingDecl(UsingDecl *D);
1609 void DeclPrinter::VisitUsingDecl(UsingDecl *D) {
H A DTextNodeDumper.cpp2158 void TextNodeDumper::VisitUsingDecl(const UsingDecl *D) {
/openbsd-current/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp296 if (llvm::isa<RecordDecl>(D) || llvm::isa<UsingDecl>(D))
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h43 class UsingDecl;
527 void EmitUsingDecl(const UsingDecl &UD);
/openbsd-current/gnu/llvm/clang/include/clang/Sema/
H A DOverload.h1213 if (isa<UsingDecl>(ND))
/openbsd-current/gnu/llvm/clang/lib/Index/
H A DUSRGeneration.cpp116 void VisitUsingDecl(const UsingDecl *D) {
H A DIndexDecl.cpp606 bool VisitUsingDecl(const UsingDecl *D) {
/openbsd-current/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp858 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
/openbsd-current/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h1026 clang::UsingDecl *CreateUsingDeclaration(clang::DeclContext *current_decl_ctx,
H A DTypeSystemClang.cpp2002 clang::UsingDecl *
2007 clang::UsingDecl *using_decl = clang::UsingDecl::Create(
9587 } else if (clang::UsingDecl *ud =
9588 llvm::dyn_cast<clang::UsingDecl>(child)) {
9704 if (clang::UsingDecl *ud =
9705 llvm::dyn_cast<clang::UsingDecl>(child)) {
/openbsd-current/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1767 extern const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
4189 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
4190 return Inner.matches(*UsingDecl, Finder, Builder);
/openbsd-current/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp397 void VisitUsingDecl(UsingDecl *D);
1811 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) {
3696 D = UsingDecl::CreateDeserialized(Context, ID);
/openbsd-current/gnu/llvm/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1559 bool WalkUpFromUsingDecl(UsingDecl *S) {

Completed in 600 milliseconds

12