10 #ifndef LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
11 #define LLVM_CLANG_FRONTEND_SERIALIZEDDIAGNOSTICPRINTER_H
15 #include "llvm/Bitcode/BitstreamWriter.h"
22 class DiagnosticConsumer;
23 class DiagnosticsEngine;
24 class DiagnosticOptions;
26 namespace serialized_diags {
36 std::unique_ptr<DiagnosticConsumer>
create(StringRef OutputFile,
38 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.