clang-tools 20.0.0git
Classes | Namespaces | Functions
Compiler.h File Reference
#include "FeatureModule.h"
#include "ModulesBuilder.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>

Go to the source code of this file.

Classes

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...
 

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

void clang::clangd::disableUnsupportedOptions (CompilerInvocation &CI)
 Clears CI from options that are not supported by clangd, like codegen or plugins.
 
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.
 
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:
 
void clang::clangd::allowCrashPragmasForTest ()
 Respect #pragma clang __debug crash etc, which are usually disabled.