[clang-tools-extra] [clangd] Index symbols declared inside export declarations (PR #234755)
Aleksandr Platonov via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 23 01:16:24 PDT 2026
https://github.com/ArcsinX commented:
I am not sure that just adding `Decl::Export` into the switch is right, because it is a transparent context and declarations inside it semantically belong to the enclosing non-transparent context. So, maybe we should unwind till the real semantic parent like [here](https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clangd/refactor/Rename.cpp#L436) (btw, I found API to do this [without a loop](https://github.com/llvm/llvm-project/blob/main/clang/include/clang/AST/DeclBase.h#L470))
https://github.com/llvm/llvm-project/pull/234755
More information about the cfe-commits
mailing list