clang 20.0.0git
Classes | Namespaces | Enumerations | Functions
PrecompiledPreamble.h File Reference
#include "clang/Lex/Lexer.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/MD5.h"
#include <cstddef>
#include <memory>
#include <system_error>
#include <type_traits>

Go to the source code of this file.

Classes

class  clang::PrecompiledPreamble
 A class holding a PCH and all information to check whether it is valid to reuse the PCH for the subsequent runs. More...
 
class  clang::PreambleCallbacks
 A set of callbacks to gather useful information while building a preamble. More...
 
class  clang::BuildPreambleErrorCategory
 
struct  std::is_error_code_enum< clang::BuildPreambleError >
 

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 
namespace  llvm::vfs
 
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 

Enumerations

enum class  clang::BuildPreambleError {
  clang::CouldntCreateTempFile = 1 , clang::CouldntCreateTargetInfo , clang::BeginSourceFileFailed , clang::CouldntEmitPCH ,
  clang::BadInputs
}
 

Functions

PreambleBounds clang::ComputePreambleBounds (const LangOptions &LangOpts, const llvm::MemoryBufferRef &Buffer, unsigned MaxLines)
 Runs lexer to compute suggested preamble bounds.
 
std::error_code clang::make_error_code (BuildPreambleError Error)