clang-tools 20.0.0git
|
Describes the context used to evaluate configuration fragments. More...
#include <ConfigProvider.h>
Public Attributes | |
llvm::StringRef | Path |
Absolute path to a source file we're applying the config to. | |
std::chrono::steady_clock::time_point | FreshTime |
Hint that stale data is OK to improve performance (e.g. | |
Describes the context used to evaluate configuration fragments.
Definition at line 33 of file ConfigProvider.h.
std::chrono::steady_clock::time_point clang::clangd::config::Params::FreshTime |
Hint that stale data is OK to improve performance (e.g.
avoid IO). FreshTime sets a bound for how old the data can be. By default, providers should validate caches against the data source.
Definition at line 40 of file ConfigProvider.h.
Referenced by clang::clangd::ClangdServer::createConfiguredContextProvider(), clang::clangd::config::Provider::fromAncestorRelativeYAMLFiles(), and clang::clangd::config::Provider::fromYAMLFile().
llvm::StringRef clang::clangd::config::Params::Path |
Absolute path to a source file we're applying the config to.
Unix slashes. Empty if not configuring a particular file.
Definition at line 36 of file ConfigProvider.h.
Referenced by clang::clangd::ClangdServer::createConfiguredContextProvider(), clang::clangd::config::Provider::fromAncestorRelativeYAMLFiles(), and clang::clangd::config::Provider::getConfig().