|
clang 22.0.0git
|
#include "clang/Frontend/SerializedDiagnosticPrinter.h"#include "clang/Basic/Diagnostic.h"#include "clang/Basic/DiagnosticOptions.h"#include "clang/Basic/SourceManager.h"#include "clang/Frontend/DiagnosticRenderer.h"#include "clang/Frontend/FrontendDiagnostic.h"#include "clang/Frontend/SerializedDiagnosticReader.h"#include "clang/Frontend/SerializedDiagnostics.h"#include "clang/Frontend/TextDiagnosticPrinter.h"#include "clang/Lex/Lexer.h"#include "llvm/ADT/DenseSet.h"#include "llvm/ADT/StringRef.h"#include "llvm/Bitstream/BitCodes.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/raw_ostream.h"#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::serialized_diags |
Macros | |
| #define | CASE(X) |
Functions | |
| std::unique_ptr< DiagnosticConsumer > | clang::serialized_diags::create (StringRef OutputFile, DiagnosticOptions &DiagOpts, bool MergeChildRecords=false) |
| Returns a DiagnosticConsumer that serializes diagnostics to a bitcode file. | |
| static void | EmitBlockID (unsigned ID, const char *Name, llvm::BitstreamWriter &Stream, RecordDataImpl &Record) |
| Emits a block ID in the BLOCKINFO block. | |
| static void | EmitRecordID (unsigned ID, const char *Name, llvm::BitstreamWriter &Stream, RecordDataImpl &Record) |
| Emits a record ID in the BLOCKINFO block. | |
| static void | AddSourceLocationAbbrev (llvm::BitCodeAbbrev &Abbrev) |
| static void | AddRangeLocationAbbrev (llvm::BitCodeAbbrev &Abbrev) |
| static serialized_diags::Level | getStableLevel (DiagnosticsEngine::Level Level) |
| #define CASE | ( | X | ) |
|
static |
Definition at line 419 of file SerializedDiagnosticPrinter.cpp.
References AddSourceLocationAbbrev().
|
static |
Definition at line 411 of file SerializedDiagnosticPrinter.cpp.
Referenced by AddRangeLocationAbbrev().
|
static |
Emits a block ID in the BLOCKINFO block.
Definition at line 310 of file SerializedDiagnosticPrinter.cpp.
|
static |
Emits a record ID in the BLOCKINFO block.
Definition at line 330 of file SerializedDiagnosticPrinter.cpp.
|
static |
Definition at line 625 of file SerializedDiagnosticPrinter.cpp.
References CASE, clang::serialized_diags::Error, clang::serialized_diags::Fatal, clang::serialized_diags::Ignored, clang::serialized_diags::Note, clang::serialized_diags::Remark, and clang::serialized_diags::Warning.