Home
last modified time | relevance | path

Searched refs:UsingDirective (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DGlobalNamesInHeadersCheck.cpp63 if (const auto *UsingDirective = dyn_cast<UsingDirectiveDecl>(D)) { in check() local
64 if (UsingDirective->getNominatedNamespace()->isAnonymousNamespace()) { in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DPreferRegisterOverUnsignedCheck.cpp48 for (const auto *UsingDirective : Context->using_directives()) { in check() local
49 const NamespaceDecl *Namespace = UsingDirective->getNominatedNamespace(); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSourceCode.cpp651 UsingDirective // using namespace <ns>. Payload is unresolved <ns>. enumerator
772 Event.Trigger = NamespaceEvent::UsingDirective; in parseNamespaceEvents()
810 case NamespaceEvent::UsingDirective: in visibleNamespaces()
1117 if (Event.Trigger == NamespaceEvent::UsingDirective) in getEligiblePoints()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp783 UsingDirective, enumerator
797 return UnnamedDeclKind::UsingDirective; in getUnnamedDeclKind()
810 case UnnamedDeclKind::UsingDirective: in getUnnamedDeclDiag()
H A DSemaCodeComplete.cpp4020 case Decl::UsingDirective: in getCursorKindForDecl()
H A DSemaDeclCXX.cpp1833 case Decl::UsingDirective: in CheckConstexprDeclStmt()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDeclNodes.td19 def UsingDirective : DeclNode<Named>;
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp200 case Decl::Kind::UsingDirective: in HandleNamedDecl()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTCommon.cpp384 case Decl::UsingDirective: in isRedeclarableDeclKind()
/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DBuildTreeTest.cpp3177 TEST_P(BuildSyntaxTreeTest, UsingDirective) { in TEST_P() argument
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h2938 : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc), in UsingDirectiveDecl()
3009 static bool classofKind(Kind K) { return K == UsingDirective; } in classofKind()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclBase.cpp845 case UsingDirective: in getIdentifierNamespaceForKind()
H A DDecl.cpp1407 case Decl::UsingDirective: in computeLVForDecl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDecl.cpp150 case Decl::UsingDirective: // using namespace X; [C++] in EmitDecl()
H A DCodeGenModule.cpp6170 case Decl::UsingDirective: // using namespace X; [C++] in EmitTopLevelDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp6711 case Decl::UsingDirective: in clang_getCursorDefinition()
8162 case Decl::UsingDirective: in getDeclLanguage()