12#ifndef ROOT_TClingDiagnostics
13#define ROOT_TClingDiagnostics
15#include "clang/Frontend/TextDiagnosticPrinter.h"
16#include "llvm/Support/raw_ostream.h"
30 const std::string &
Info);
33 llvm::raw_string_ostream
fOS;
38 clang::LangOptions &LangOpts,
handler_t fn);
42 const clang::Diagnostic &
Info)
override;
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
void Info(const char *location, const char *msgfmt,...)
Use this function for informational messages.
Uses clang::TextDiagnosticPrinter to format diagnostics, which are then passed to a user-specified fu...
void HandleDiagnostic(clang::DiagnosticsEngine::Level Level, const clang::Diagnostic &Info) override
~TClingDelegateDiagnosticPrinter() override=default
llvm::raw_string_ostream fOS
void(* handler_t)(clang::DiagnosticsEngine::Level Level, const std::string &Info)