[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
Wed Jul 15 13:58:11 PDT 2020


sammccall added a comment.

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

> Hey, quick question about this change:
>
> I'm seeing .cache directories appear off of subdirectories too, not just my project root:
>
> 1. Untracked files: 31 #»      .cache/ 32 #»      content/browser/frame_host/.cache/ 33 #»      content/public/browser/.cache/ 34 #»      content/test/.cache/ 35 #»      net/http/.cache/ 36 #»      services/network/.cache/ 37 #»      services/network/trust_tokens/.cache/
>
>   Is this working as intended?


Hmm, maybe not. Do these directories have `compile_commands.json` files? (That's what we treat as a "project root", it may be a subproject)
Did they previously have `.clangd` directories created for indexes? (This patch shouldn't have changed which directories have indexes placed in them, just the names of the index directories).

Sorry about the churn, in any case :-(


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