<div dir="ltr">Hi<div>I am trying to print an error message from clang API with colored format,</div><div><br></div><div>From StringRef message filled with diagnostics data I try</div><div><br></div><div>clang::TextDiagnostic::printDiagnosticMessage(outs(), clang::DiagnosticsEngine::Level::Error, message, 0, console->width, true);<br>
</div><div><br></div><div>But I dont see any colors on the screen buffer, I have look around, but could not find examples of this task, does anybody know how to print colored errors and warnings given only the StringRef buffer?</div>
<div><br></div><div>Thanks</div><div><br></div><div>Alejandro</div></div>