[PATCH] D83099: [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index'

Sam McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 10:29:56 PDT 2020


sammccall added a comment.

In D83099#2155900 <https://reviews.llvm.org/D83099#2155900>, @davidvancleve wrote:

> Yes, these two are exactly the case!
>
> > - you'd be using an editor/plugin that sends compile commands over LSP (such as YCM + ycm_extra_conf). What are you using?
> > - there should be relatively few *.idx files inside the extra directories (the ones not near your compilation database), corresponding to files you've had open rather than the whole project


Well, that's a relief :-)
46c921003c2ce5f1cdc4de9ef613eb001980780c <https://reviews.llvm.org/rG46c921003c2ce5f1cdc4de9ef613eb001980780c> should fix this then, and we'll get it cherrypicked to the release branch.
Please let us know if you see this again after that commit!

> I'm using YCM. We only had /.clangd/ in our gitignore, which AIUI would have only been ignoring a clangd at the level of the project root; I certainly never noticed any .clangd folders in subdirectories.

Yeah, the leading slash shoud do that... I'm stumped then, but I'm also fairly confident this is fixed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83099/new/

https://reviews.llvm.org/D83099





More information about the llvm-commits mailing list