clang-tools
11.0.0
|
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. More... | |
llvm::Optional< std::chrono::steady_clock::time_point > | FreshTime |
Hint that stale data is OK to improve performance (e.g. More... | |
Describes the context used to evaluate configuration fragments.
Definition at line 34 of file ConfigProvider.h.
llvm::Optional<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. If not set, providers should validate caches against the data source.
Definition at line 41 of file ConfigProvider.h.
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 37 of file ConfigProvider.h.
Referenced by clang::clangd::config::Provider::getConfig().