clang-tools  14.0.0git
Classes | Namespaces | Functions
Compiler.h File Reference
#include "FeatureModule.h"
#include "GlobalCompilationDatabase.h"
#include "TidyProvider.h"
#include "index/Index.h"
#include "support/ThreadsafeFS.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/PrecompiledPreamble.h"
#include "clang/Tooling/CompilationDatabase.h"
#include <memory>
#include <vector>
Include dependency graph for Compiler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  clang::clangd::IgnoreDiagnostics
struct  clang::clangd::ParseOptions
struct  clang::clangd::ParseInputs
 Information required to run clang, e.g. to parse AST or do code completion. More...


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


void clang::clangd::disableUnsupportedOptions (CompilerInvocation &CI)
 Clears CI from options that are not supported by clangd, like codegen or plugins. More...
std::unique_ptr< CompilerInvocation > clang::clangd::buildCompilerInvocation (const ParseInputs &Inputs, clang::DiagnosticConsumer &D, std::vector< std::string > *CC1Args=nullptr)
 Builds compiler invocation that could be used to build AST or preamble. More...
std::unique_ptr< CompilerInstance > clang::clangd::prepareCompilerInstance (std::unique_ptr< clang::CompilerInvocation >, const PrecompiledPreamble *, std::unique_ptr< llvm::MemoryBuffer > MainFile, IntrusiveRefCntPtr< llvm::vfs::FileSystem >, DiagnosticConsumer &)
 Creates a compiler instance, configured so that: More...