Home
last modified time | relevance | path

Searched refs:UsingDirectiveDecl (Results 1 – 25 of 50) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DRemoveUsingNamespace.cpp46 const UsingDirectiveDecl *TargetDirective = nullptr;
52 FindSameUsings(const UsingDirectiveDecl &Target, in FindSameUsings()
53 std::vector<const UsingDirectiveDecl *> &Results) in FindSameUsings()
57 bool VisitUsingDirectiveDecl(UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
68 std::vector<const UsingDirectiveDecl *> &Results;
73 removeUsingDirective(ASTContext &Ctx, const UsingDirectiveDecl *D) { in removeUsingDirective()
109 TargetDirective = CA->ASTNode.get<UsingDirectiveDecl>(); in prepare()
134 std::vector<const UsingDirectiveDecl *> AllDirectives; in apply()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DScope.h34 class UsingDirectiveDecl; variable
207 using UsingDirectivesTy = SmallVector<UsingDirectiveDecl *, 2>;
532 void PushUsingDirective(UsingDirectiveDecl *UDir) { in PushUsingDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DUsingNamespaceDirectiveCheck.cpp28 const auto *U = Result.Nodes.getNodeAs<UsingDirectiveDecl>("usingNamespace"); in check()
H A DGlobalNamesInHeadersCheck.cpp63 if (const auto *UsingDirective = dyn_cast<UsingDirectiveDecl>(D)) { in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h56 const UsingDirectiveDecl &D);
H A DAST.cpp97 if (auto *UDD = llvm::dyn_cast<UsingDirectiveDecl>(D)) in getUsingNamespaceDirectives()
210 const UsingDirectiveDecl &D) { in printUsingNamespaceName()
229 if (auto *UD = llvm::dyn_cast<UsingDirectiveDecl>(&ND)) { in printName()
H A DFindTarget.cpp180 if (const UsingDirectiveDecl *UDD = llvm::dyn_cast<UsingDirectiveDecl>(D)) in add()
608 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in refInDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp39 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema()
H A DSemaModule.cpp796 if (isa<UsingDirectiveDecl>(D)) in getUnnamedDeclKind()
/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.h156 llvm::SmallPtrSet<const UsingDirectiveDecl *, 8> UsingNamespaceDecls;
/llvm-project-15.0.7/clang/test/AST/HLSL/
H A Dvector-alias.hlsl19 // CHECK: UsingDirectiveDecl 0x{{[0-9a-fA-F]+}} <<invalid sloc>> <invalid sloc> Namespace 0x{{[0-9a…
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2837 void UsingDirectiveDecl::anchor() {} in anchor()
2839 UsingDirectiveDecl *UsingDirectiveDecl::Create(ASTContext &C, DeclContext *DC, in Create()
2848 return new (C, DC) UsingDirectiveDecl(DC, L, NamespaceLoc, QualifierLoc, in Create()
2852 UsingDirectiveDecl *UsingDirectiveDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2854 return new (C, ID) UsingDirectiveDecl(nullptr, SourceLocation(), in CreateDeserialized()
2860 NamespaceDecl *UsingDirectiveDecl::getNominatedNamespace() { in getNominatedNamespace()
H A DDeclBase.cpp1466 if ((D->getIdentifierNamespace() == 0 && !isa<UsingDirectiveDecl>(D)) || in shouldBeHidden()
1944 UsingDirectiveDecl *DeclContext::udir_iterator::operator*() const { in operator *()
1945 return cast<UsingDirectiveDecl>(*I); in operator *()
1953 lookup_result Result = lookup(UsingDirectiveDecl::getName()); in using_directives()
H A DDeclPrinter.cpp78 void VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
969 void DeclPrinter::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h244 bool VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h65 class UsingDirectiveDecl; variable
2432 UsingDirectiveDecl *>;
2437 UsingDirectiveDecl *operator*() const;
H A DTextNodeDumper.h347 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D);
H A DDeclCXX.h2915 class UsingDirectiveDecl : public NamedDecl {
2932 UsingDirectiveDecl(DeclContext *DC, SourceLocation UsingLoc, in UsingDirectiveDecl() function
2977 return const_cast<UsingDirectiveDecl*>(this)->getNominatedNamespace(); in getNominatedNamespace()
2995 static UsingDirectiveDecl *Create(ASTContext &C, DeclContext *DC,
3002 static UsingDirectiveDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DJSONNodeDumper.h236 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *UDD);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp399 if (const auto *UsingNS = dyn_cast<UsingDirectiveDecl>(Decl)) in check()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexSymbol.cpp62 if (isa<UsingDirectiveDecl>(D)) in isFunctionLocalSymbol()
H A DIndexDecl.cpp626 bool VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
H A DUSRGeneration.cpp112 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DModularize.cpp614 if (isa<NamespaceDecl>(ND) || isa<UsingDirectiveDecl>(ND) || in VisitNamedDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.h516 void EmitUsingDirective(const UsingDirectiveDecl &UD);

12