clang_formatDiagnostic

\brief Format the given diagnostic in a manner that is suitable for display.

This routine will format the given diagnostic to a string, rendering the diagnostic according to the various options given. The \c clang_defaultDiagnosticDisplayOptions() function returns the set of options that most closely mimics the behavior of the clang compiler.

\param Diagnostic The diagnostic to print.

\param Options A set of options that control the diagnostic display, created by combining \c CXDiagnosticDisplayOptions values.

\returns A new string containing for formatted diagnostic.

extern (C)
clang_formatDiagnostic

Meta