diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2021-11-29 00:09:41 +0100 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2022-05-17 16:50:41 +0200 |
| commit | ecaa4d9662c9a6ac013ac40a8ad72a2c75e3fd3b (patch) | |
| tree | 65fde4d95f7057e8327cf90ab2d3155a7e76024b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8430b827419534cbd0c6ade12abea1d00a033eba (diff) | |
[clangd] Indexing of standard library
This provides a nice "warm start" with all headers indexed, not just
those included so far.
The standard library is indexed after a preamble is parsed, using that
file's configuration. The result is pushed into the dynamic index.
If we later see a higher language version, we reindex it.
It's configurable as Index.StandardLibrary, off by default for now.
Based on D105177 by @kuhnel
Fixes https://github.com/clangd/clangd/issues/618
Differential Revision: https://reviews.llvm.org/D115232
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
