| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | using-decl.cpp | 9 namespace UsingDecl { namespace 12 int k = UsingDecl::merged; 60 UsingDecl::using_decl_type x = UsingDecl::using_decl_var; 61 UsingDecl::inner y = x;
|
| H A D | no-linkage.cpp | 9 int UsingDecl; // expected-note {{candidate}} variable 34 use(UsingDecl); in use_things() 49 use(UsingDecl); // expected-error {{ambiguous}} in use_things_again()
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/no-linkage/ |
| H A D | decls.h | 1 namespace RealNS { int UsingDecl; } variable 5 using RealNS::UsingDecl;
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/ |
| H A D | using-decl-b.h | 1 namespace UsingDecl { 8 namespace UsingDecl {
|
| H A D | using-decl-a.h | 5 namespace UsingDecl {
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.h | 36 explicit UsingDeclContext(const UsingDecl *FoundUsingDecl) in UsingDeclContext() 43 const UsingDecl *FoundUsingDecl;
|
| H A D | UnusedUsingDeclsCheck.cpp | 69 if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | AddUsing.cpp | 65 UsingFinder(std::vector<const UsingDecl *> &Results, in UsingFinder() 69 bool VisitUsingDecl(UsingDecl *D) { in VisitUsingDecl() 94 std::vector<const UsingDecl *> &Results; 137 std::vector<const UsingDecl *> Usings; in findInsertionPoint()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 39 auto *UsingDecl = UsingDirectiveDecl::Create( in InitializeSema() local 44 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/ |
| H A D | ChangeNamespace.h | 81 const UsingDecl *UsingDeclaration); 153 llvm::SmallPtrSet<const UsingDecl *, 8> UsingDecls;
|
| H A D | ChangeNamespace.cpp | 526 if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) { in run() 547 Result.Nodes.getNodeAs<UsingDecl>("using_with_shadow")) { in run() 847 for (const UsingDecl *Using : UsingDecls) { in replaceQualifiedSymbolInDeclContext() 928 const UsingDecl *UsingDeclaration) { in fixUsingShadowDecl()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 184 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;
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 74 class UsingDecl; variable 3412 class UsingDecl : public BaseUsingDecl, public Mergeable<UsingDecl> { 3423 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() function 3466 static UsingDecl *Create(ASTContext &C, DeclContext *DC, 3477 UsingDecl *getCanonicalDecl() override { in getCanonicalDecl() 3478 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3480 const UsingDecl *getCanonicalDecl() const { in getCanonicalDecl() 3481 return cast<UsingDecl>(getFirstDecl()); in getCanonicalDecl() 3516 UsingDecl *Using, NamedDecl *Target, in ConstructorUsingShadowDecl() 3554 UsingDecl *getIntroducer() const { in getIntroducer() [all …]
|
| H A D | TextNodeDumper.h | 359 void VisitUsingDecl(const UsingDecl *D);
|
| H A D | JSONNodeDumper.h | 238 void VisitUsingDecl(const UsingDecl *UD);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseUncaughtExceptionsCheck.cpp | 69 const auto *U = Result.Nodes.getNodeAs<UsingDecl>("using_decl"); in check()
|
| H A D | ReplaceAutoPtrCheck.cpp | 129 Result.Nodes.getNodeAs<UsingDecl>(AutoPtrTokenId)) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | QualityTests.cpp | 144 *dyn_cast<UsingDecl>(&findDecl(AST, [&](const NamedDecl &ND) { in TEST() 145 if (const UsingDecl *Using = dyn_cast<UsingDecl>(&ND)) in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | UpgradeGoogletestCaseCheck.cpp | 257 if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) { in getAliasNameRange() 285 } else if (const auto *Using = Result.Nodes.getNodeAs<UsingDecl>("using")) { in check()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 1348 if (const auto *Using = dyn_cast<UsingDecl>(D)) { in addedMember() 3020 SourceLocation Loc, UsingDecl *Using, in Create() 3066 void UsingDecl::anchor() {} in anchor() 3068 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, in Create() 3072 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename); in Create() 3075 UsingDecl *UsingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 3076 return new (C, ID) UsingDecl(nullptr, SourceLocation(), in CreateDeserialized() 3081 SourceRange UsingDecl::getSourceRange() const { in getSourceRange()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CursorVisitor.h | 245 bool VisitUsingDecl(UsingDecl *D);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindTarget.cpp | 186 } else if (const UsingDecl *UD = dyn_cast<UsingDecl>(D)) { in add() 617 void VisitUsingDecl(const UsingDecl *D) { in refInDecl()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 252 if (llvm::isa<RecordDecl>(D) || llvm::isa<UsingDecl>(D)) in getTerminators()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | SourceLocationTest.cpp | 483 TEST(UsingDecl, SourceRange) { in TEST() argument 484 RangeVerifier<UsingDecl> Verifier; in TEST()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.h | 43 class UsingDecl; variable 528 void EmitUsingDecl(const UsingDecl &UD);
|