clang-tools 22.0.0git
GlobalCompilationDatabase.cpp File Reference
#include "GlobalCompilationDatabase.h"
#include "Config.h"
#include "FS.h"
#include "ProjectModules.h"
#include "ScanningProjectModules.h"
#include "SourceCode.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "support/Threading.h"
#include "support/ThreadsafeFS.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/CompilationDatabasePluginRegistry.h"
#include "clang/Tooling/JSONCompilationDatabase.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/VirtualFileSystem.h"
#include "llvm/TargetParser/Host.h"
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <deque>
#include <mutex>
#include <optional>
#include <string>
#include <tuple>
#include <vector>

Go to the source code of this file.

Classes

class  clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache
struct  clang::clangd::DirectoryBasedGlobalCompilationDatabase::DirectoryCache::CachedFile::LoadResult
class  clang::clangd::DirectoryBasedGlobalCompilationDatabase::BroadcastThread
class  clang::clangd::DirectoryBasedGlobalCompilationDatabase::BroadcastThread::Filter

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.

Functions

static std::unique_ptr< tooling::CompilationDatabase > clang::clangd::parseJSON (PathRef Path, llvm::StringRef Data, std::string &Error)
static std::unique_ptr< tooling::CompilationDatabase > clang::clangd::parseFixed (PathRef Path, llvm::StringRef Data, std::string &Error)