Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAddUsing.cpp178 const DeclContext *ParentDeclCtx = in findInsertionPoint() local
180 while (ParentDeclCtx && !ParentDeclCtx->isFileContext()) { in findInsertionPoint()
181 ParentDeclCtx = ParentDeclCtx->getLexicalParent(); in findInsertionPoint()
183 if (auto *ND = llvm::dyn_cast_or_null<NamespaceDecl>(ParentDeclCtx)) { in findInsertionPoint()