#include "ConfigProvider.h"
#include "Config.h"
#include "ConfigFragment.h"
#include "support/FileCache.h"
#include "support/Path.h"
#include "support/ThreadsafeFS.h"
#include "support/Trace.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include <chrono>
#include <mutex>
#include <optional>
#include <string>
namespace clang {
namespace clangd {
namespace config {
class FileConfigCache : public FileCache { … };
std::unique_ptr<Provider> Provider::fromYAMLFile(llvm::StringRef AbsPath,
llvm::StringRef Directory,
const ThreadsafeFS &FS,
bool Trusted) { … }
std::unique_ptr<Provider>
Provider::fromAncestorRelativeYAMLFiles(llvm::StringRef RelPath,
const ThreadsafeFS &FS, bool Trusted) { … }
std::unique_ptr<Provider>
Provider::combine(std::vector<const Provider *> Providers) { … }
Config Provider::getConfig(const Params &P, DiagnosticCallback DC) const { … }
}
}
}