clang-tools 20.0.0git
|
Controls how clangd understands code outside the current file. More...
#include <ConfigFragment.h>
Classes | |
struct | ExternalBlock |
An external index uses data source outside of clangd itself. More... | |
Public Attributes | |
std::optional< Located< std::string > > | Background |
Whether files are built in the background to produce a project index. | |
std::optional< Located< ExternalBlock > > | External |
std::optional< Located< bool > > | StandardLibrary |
Controls how clangd understands code outside the current file.
clangd's indexes provide information about symbols that isn't available to clang's parser, such as incoming references.
Definition at line 178 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::IndexBlock::Background |
Whether files are built in the background to produce a project index.
This is checked for translation units only, not headers they include. Legal values are "Build" or "Skip".
Definition at line 182 of file ConfigFragment.h.
std::optional<Located<ExternalBlock> > clang::clangd::config::Fragment::IndexBlock::External |
Definition at line 201 of file ConfigFragment.h.
std::optional<Located<bool> > clang::clangd::config::Fragment::IndexBlock::StandardLibrary |
Definition at line 204 of file ConfigFragment.h.