LLVM remote index server
This server provides about a day old index for llvm-project to be used by clangd. It aims to lower resource usage of clangd on workstation machines by moving project-wide indexing and serving pieces to a centralized server.
To make use of this service you need a clangd build with remote index support and point clangd at this particular index server.
More details on remote index internals.
Getting clangd client
After acquiring the binary, make sure your LSP client points to it. Details about this process can be found here.
Pointing clangd to llvm-remote-index-server
Finally you'll need to point clangd at this particular index server. The easiest way to achieve this is via user configuration: a config.yaml file in an OS-specific directory:
- Linux and others:
You'll need to populate this config file with the following, while changing
/path/to/llvm/ with absolute path to your checkout location.
If you have multiple checkouts you can specify different fragments by putting
--- in between. You can also turn on local indexing for parts of the codebase
to have up-to-date symbol information. Such a config file could look like:
Note that the fragment setting
Build must come
after the external index specification. More details on configuration
You can raise any issues about this service in clangd/llvm-remote-index.