Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAnnotateHighlightings.cpp39 const Decl *CommonDecl = nullptr; in REGISTER_TWEAK() local
40 for (auto N = Inputs.ASTSelection.commonAncestor(); N && !CommonDecl; in REGISTER_TWEAK()
42 CommonDecl = N->ASTNode.get<Decl>(); in REGISTER_TWEAK()
45 if (!CommonDecl) { in REGISTER_TWEAK()
55 {const_cast<Decl *>(CommonDecl)}); in REGISTER_TWEAK()