Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DDefineOutline.cpp74 findContextForNS(llvm::StringRef TargetNS, const DeclContext *CurContext) { in findContextForNS() argument
75 assert(TargetNS.empty() || TargetNS.endswith("::")); in findContextForNS()
79 if (TargetNS.empty()) { in findContextForNS()
95 if (!CurrentContextNS.startswith(TargetNS)) in findContextForNS()
98 while (CurrentContextNS != TargetNS) { in findContextForNS()
H A DRemoveUsingNamespace.cpp54 : TargetNS(Target.getNominatedNamespace()), in FindSameUsings()
58 if (D->getNominatedNamespace() != TargetNS || in VisitUsingDirectiveDecl()
66 const NamespaceDecl *TargetNS; member in clang::clangd::__anon6819becf0111::FindSameUsings