summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2021-11-29 00:09:41 +0100
committerSam McCall <sam.mccall@gmail.com>2022-05-17 16:50:41 +0200
commitecaa4d9662c9a6ac013ac40a8ad72a2c75e3fd3b (patch)
tree65fde4d95f7057e8327cf90ab2d3155a7e76024b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8430b827419534cbd0c6ade12abea1d00a033eba (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