forked from OSchip/llvm-project
Do not prepend the keyword "[CHECKER]" to checker messages when using
a PathDiagnosticClient. llvm-svn: 48996
This commit is contained in:
parent
ed6e34fe41
commit
e9f2a90d1f
|
@ -76,8 +76,11 @@ void EmitWarning(Diagnostic& Diag, PathDiagnosticClient* PD,
|
|||
ITERATOR I, ITERATOR E, const char* msg) {
|
||||
|
||||
std::ostringstream Out;
|
||||
Out << "[CHECKER] " << msg;
|
||||
msg = Out.str().c_str();
|
||||
|
||||
if (!PD) {
|
||||
Out << "[CHECKER] " << msg;
|
||||
msg = Out.str().c_str();
|
||||
}
|
||||
|
||||
bool isFirst = true;
|
||||
unsigned ErrorDiag = 0;
|
||||
|
|
Loading…
Reference in New Issue