15(clang::DiagnosticOptions *DiagOpts, clang::LangOptions &LangOpts, handler_t fn)
16 : TextDiagnosticPrinter(fOS, DiagOpts), fOS(fOS_out), fHandler(fn)
19 TextDiagnosticPrinter::BeginSourceFile(LangOpts,
nullptr);
24 const clang::Diagnostic &
Info)
27 TextDiagnosticPrinter::HandleDiagnostic(Level,
Info);
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
void HandleDiagnostic(clang::DiagnosticsEngine::Level Level, const clang::Diagnostic &Info) override
llvm::raw_string_ostream fOS
TClingDelegateDiagnosticPrinter(clang::DiagnosticOptions *DiagOpts, clang::LangOptions &LangOpts, handler_t fn)