clang-tools 20.0.0git
|
#include "Compiler.h"
#include "support/Logger.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Frontend/CompilerInvocation.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Serialization/PCHContainerOperations.h"
#include "llvm/ADT/StringRef.h"
Go to the source code of this file.
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::allowCrashPragmasForTest () |
Respect #pragma clang __debug crash etc, which are usually disabled. | |
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 > CI, const PrecompiledPreamble *Preamble, std::unique_ptr< llvm::MemoryBuffer > Buffer, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS, DiagnosticConsumer &DiagsClient) |
Variables | |
static bool | clang::clangd::AllowCrashPragmasForTest = false |