9#ifndef LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
10#define LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
14#include "llvm/Bitstream/BitstreamWriter.h"
21class DiagnosticConsumer;
22class DiagnosticOptions;
24namespace serialized_diags {
34std::unique_ptr<DiagnosticConsumer>
create(StringRef OutputFile,
36 bool MergeChildRecords =
false);
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Options for controlling the compiler diagnostics engine.
std::unique_ptr< DiagnosticConsumer > create(StringRef OutputFile, DiagnosticOptions *Diags, bool MergeChildRecords=false)
Returns a DiagnosticConsumer that serializes diagnostics to a bitcode file.
The JSON file list parser is used to communicate input to InstallAPI.
Diagnostic wrappers for TextAPI types for error reporting.