[clangd-dev] Completion of #include statements
Sam McCall via clangd-dev
clangd-dev at lists.llvm.org
Thu Sep 13 04:18:11 PDT 2018
I was reminded by https://reviews.llvm.org/D51333 that I'd been meaning to
look at adding completion of filenames inside #include directives.
I won't have time soon sadly :-(
I don't think there's anything clangd-specific here, so it should probably
come through the SemaCodeComplete API. I don't have much of a clue about
the sema/PP interaction required though.
It requires listing all the include dirs, don't know if that would be
prohibitively slow. I'd guess not: today it requires stat()ing every file
on unix, but after https://reviews.llvm.org/D51921 it should just be
Anyone want to pick this up, or have ideas/guidance about the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the clangd-dev