Lines Matching defs:Config
1 //===--- Config.h - User configuration of clangd behavior --------*- C++-*-===//
11 // For example, settings may vary per-file, the resolved Config only contains
19 // of layering problems. Config should be expressed in terms of simple
41 /// Generally, features should consume Config::current() and the caller is
44 struct Config {
45 /// Returns the Config of the current Context, or an empty configuration.
46 static const Config ¤t();
47 /// Context key which can be used to set the current Config.
48 static clangd::Key<Config> Key;
50 Config() = default;
51 Config(const Config &) = delete;
52 Config &operator=(const Config &) = delete;
53 Config(Config &&) = default;
54 Config &operator=(Config &&) = default;
186 template <> struct DenseMapInfo<clang::clangd::Config::ExternalIndexSpec> {
187 using ExternalIndexSpec = clang::clangd::Config::ExternalIndexSpec;