clang-tools 20.0.0git
|
An external index uses data source outside of clangd itself. More...
#include <ConfigFragment.h>
Public Attributes | |
Located< bool > | IsNone = false |
Whether the block is explicitly set to None . | |
std::optional< Located< std::string > > | File |
Path to an index file generated by clangd-indexer. | |
std::optional< Located< std::string > > | Server |
Address and port number for a clangd-index-server. | |
std::optional< Located< std::string > > | MountPoint |
Source root governed by this index. | |
An external index uses data source outside of clangd itself.
This is usually prepared using clangd-indexer. Exactly one source (File/Server) should be configured.
Definition at line 186 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::IndexBlock::ExternalBlock::File |
Path to an index file generated by clangd-indexer.
Relative paths may be used, if config fragment is associated with a directory.
Definition at line 192 of file ConfigFragment.h.
Located<bool> clang::clangd::config::Fragment::IndexBlock::ExternalBlock::IsNone = false |
Whether the block is explicitly set to None
.
Can be used to clear any external index specified before.
Definition at line 189 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::IndexBlock::ExternalBlock::MountPoint |
Source root governed by this index.
Default is the directory associated with the config fragment. Absolute in case of user config and relative otherwise. Should always use forward-slashes.
Definition at line 199 of file ConfigFragment.h.
std::optional<Located<std::string> > clang::clangd::config::Fragment::IndexBlock::ExternalBlock::Server |
Address and port number for a clangd-index-server.
e.g. 123.1.1.1:13337
.
Definition at line 195 of file ConfigFragment.h.