| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | RemoveUsingNamespace.cpp | 46 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 D | Scope.h | 34 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 D | UsingNamespaceDirectiveCheck.cpp | 28 const auto *U = Result.Nodes.getNodeAs<UsingDirectiveDecl>("usingNamespace"); in check()
|
| H A D | GlobalNamesInHeadersCheck.cpp | 63 if (const auto *UsingDirective = dyn_cast<UsingDirectiveDecl>(D)) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | AST.h | 56 const UsingDirectiveDecl &D);
|
| H A D | AST.cpp | 97 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 D | FindTarget.cpp | 180 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 D | HLSLExternalSemaSource.cpp | 39 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema()
|
| H A D | SemaModule.cpp | 796 if (isa<UsingDirectiveDecl>(D)) in getUnnamedDeclKind()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/ |
| H A D | ChangeNamespace.h | 156 llvm::SmallPtrSet<const UsingDirectiveDecl *, 8> UsingNamespaceDecls;
|
| /llvm-project-15.0.7/clang/test/AST/HLSL/ |
| H A D | vector-alias.hlsl | 19 // 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 D | DeclCXX.cpp | 2837 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 D | DeclBase.cpp | 1466 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 D | DeclPrinter.cpp | 78 void VisitUsingDirectiveDecl(UsingDirectiveDecl *D); 969 void DeclPrinter::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CursorVisitor.h | 244 bool VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclBase.h | 65 class UsingDirectiveDecl; variable 2432 UsingDirectiveDecl *>; 2437 UsingDirectiveDecl *operator*() const;
|
| H A D | TextNodeDumper.h | 347 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D);
|
| H A D | DeclCXX.h | 2915 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 D | JSONNodeDumper.h | 236 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *UDD);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | RenamerClangTidyCheck.cpp | 399 if (const auto *UsingNS = dyn_cast<UsingDirectiveDecl>(Decl)) in check()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexSymbol.cpp | 62 if (isa<UsingDirectiveDecl>(D)) in isFunctionLocalSymbol()
|
| H A D | IndexDecl.cpp | 626 bool VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
|
| H A D | USRGeneration.cpp | 112 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) { in VisitUsingDirectiveDecl()
|
| /llvm-project-15.0.7/clang-tools-extra/modularize/ |
| H A D | Modularize.cpp | 614 if (isa<NamespaceDecl>(ND) || isa<UsingDirectiveDecl>(ND) || in VisitNamedDecl()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 516 void EmitUsingDirective(const UsingDirectiveDecl &UD);
|