Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DRemoveUsingNamespace.cpp46 const UsingDirectiveDecl *TargetDirective = nullptr; member in clang::clangd::__anon6819becf0111::RemoveUsingNamespace
109 TargetDirective = CA->ASTNode.get<UsingDirectiveDecl>(); in prepare()
110 if (!TargetDirective) in prepare()
112 if (!isa<Decl>(TargetDirective->getDeclContext())) in prepare()
124 if (!TargetDirective->getNominatedNamespace()->using_directives().empty()) in prepare()
135 FindSameUsings(*TargetDirective, AllDirectives).TraverseAST(Ctx); in apply()
156 ->Equals(TargetDirective->getNominatedNamespace())) in apply()
196 std::string Qualifier = printUsingNamespaceName(Ctx, *TargetDirective) + "::"; in apply()