clang-tools  14.0.0git
Classes | Namespaces | Functions
GlobalCompilationDatabase.cpp File Reference
#include "GlobalCompilationDatabase.h"
#include "Config.h"
#include "FS.h"
#include "SourceCode.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "support/Threading.h"
#include "support/ThreadsafeFS.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/CompilationDatabasePluginRegistry.h"
#include "clang/Tooling/JSONCompilationDatabase.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.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/FileSystem.h"
#include "llvm/Support/FileUtilities.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <mutex>
#include <string>
#include <tuple>
#include <vector>
Include dependency graph for GlobalCompilationDatabase.cpp:

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

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 

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)