9 #ifndef LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
10 #define LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
14 #include "llvm/Bitstream/BitstreamWriter.h"
21 class DiagnosticConsumer;
22 class DiagnosticOptions;
24 namespace serialized_diags {
34 std::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.