clang-tools 20.0.0git
Classes | Namespaces | Typedefs | Functions
GlobalCompilationDatabase.h File Reference
#include "ProjectModules.h"
#include "support/Function.h"
#include "support/Path.h"
#include "support/Threading.h"
#include "support/ThreadsafeFS.h"
#include "clang/Tooling/ArgumentsAdjusters.h"
#include "clang/Tooling/CompilationDatabase.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/StringMap.h"
#include <memory>
#include <mutex>
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

struct  clang::clangd::ProjectInfo
 
class  clang::clangd::GlobalCompilationDatabase
 Provides compilation arguments used for parsing C and C++ files. More...
 
class  clang::clangd::DelegatingCDB
 
class  clang::clangd::DirectoryBasedGlobalCompilationDatabase
 Gets compile args from tooling::CompilationDatabases built for parent directories. More...
 
struct  clang::clangd::DirectoryBasedGlobalCompilationDatabase::Options
 
class  clang::clangd::OverlayCDB
 Wraps another compilation database, and supports overriding the commands using an in-memory mapping. More...
 

Namespaces

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

Typedefs

using clang::clangd::SystemIncludeExtractorFn = llvm::unique_function< void(tooling::CompileCommand &, llvm::StringRef) const >
 Extracts system include search path from drivers matching QueryDriverGlobs and adds them to the compile flags.
 

Functions

SystemIncludeExtractorFn clang::clangd::getSystemIncludeExtractor (llvm::ArrayRef< std::string > QueryDriverGlobs)