Home
last modified time | relevance | path

Searched refs:ExternalIndexSpec (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DConfig.h63 struct ExternalIndexSpec { struct
77 llvm::Optional<ExternalIndexSpec> External;
101 template <> struct DenseMapInfo<clang::clangd::Config::ExternalIndexSpec> {
102 using ExternalIndexSpec = clang::clangd::Config::ExternalIndexSpec;
103 static inline ExternalIndexSpec getEmptyKey() {
104 return {ExternalIndexSpec::File, "", ""};
106 static inline ExternalIndexSpec getTombstoneKey() {
107 return {ExternalIndexSpec::File, "TOMB", "STONE"};
109 static unsigned getHashValue(const ExternalIndexSpec &Val) {
112 static bool isEqual(const ExternalIndexSpec &LHS,
[all …]
DConfigCompile.cpp295 Config::ExternalIndexSpec Spec; in compile()
297 Spec.Kind = Config::ExternalIndexSpec::Server; in compile()
300 Spec.Kind = Config::ExternalIndexSpec::File; in compile()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DProjectAwareIndexTests.cpp36 IndexFactory Gen = [](const Config::ExternalIndexSpec &, AsyncTaskRunner &) { in TEST() argument
57 IndexFactory Gen = [&](const Config::ExternalIndexSpec &, AsyncTaskRunner &) { in TEST() argument
/external/llvm-project/clang-tools-extra/clangd/index/
DProjectAware.h24 const Config::ExternalIndexSpec &, AsyncTaskRunner &)>;
DProjectAware.cpp65 mutable llvm::DenseMap<Config::ExternalIndexSpec,
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp560 loadExternalIndex(const Config::ExternalIndexSpec &External, in loadExternalIndex()
563 case Config::ExternalIndexSpec::Server: in loadExternalIndex()
567 case Config::ExternalIndexSpec::File: in loadExternalIndex()