diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-13 18:26:26 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-13 18:27:39 +0200 |
commit | f1b6058a3b321a150c0373ddc6066ecc8eb85312 (patch) | |
tree | ab4d070d2e48de1b9e299a25e293158bd8082e16 | |
parent | Remove consecutive break and a break which follows a return (diff) | |
download | core-f1b6058a3b321a150c0373ddc6066ecc8eb85312.tar.gz core-f1b6058a3b321a150c0373ddc6066ecc8eb85312.zip |
remove debug output
Change-Id: I719ce8870320f3bddd68fe26cf2c2b941e0a9403
-rw-r--r-- | compilerplugins/clang/sallogareas.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx index b7c2f2263931..caf2a474d6b0 100644 --- a/compilerplugins/clang/sallogareas.cxx +++ b/compilerplugins/clang/sallogareas.cxx @@ -58,13 +58,13 @@ bool SalLogAreas::VisitCallExpr( CallExpr* call ) if( area->getKind() == StringLiteral::Ascii ) checkArea( area->getBytes(), area->getExprLoc()); else - report( DiagnosticsEngine::Warning, "unsupported string literal kind (plugin needs fixing?) [loplugin] sallog", + report( DiagnosticsEngine::Warning, "unsupported string literal kind (plugin needs fixing?) [loplugin]", area->getLocStart()); return true; } if( inFunction->getQualifiedNameAsString() == "sal::detail::log" ) return true; // This function only forwards to sal_detail_log, so ok. - report( DiagnosticsEngine::Warning, "cannot analyse log area argument (plugin needs fixing?) [loplugin] sallog", + report( DiagnosticsEngine::Warning, "cannot analyse log area argument (plugin needs fixing?) [loplugin]", call->getLocStart()); } } @@ -78,7 +78,7 @@ void SalLogAreas::checkArea( StringRef area, SourceLocation location ) readLogAreas(); if( !logAreas.count( area )) { - report( DiagnosticsEngine::Warning, "unknown log area '%0' (check or extend sal/inc/sal/log-areas.dox) [loplugin] sallog", + report( DiagnosticsEngine::Warning, "unknown log area '%0' (check or extend sal/inc/sal/log-areas.dox) [loplugin]", location ) << area; } } @@ -107,7 +107,7 @@ void SalLogAreas::readLogAreas() } // If you get this error message, you possibly have too old icecream (ICECC_EXTRAFILES is needed). if( logAreas.empty()) - report( DiagnosticsEngine::Warning, "error reading log areas [loplugin] sallog" ); + report( DiagnosticsEngine::Warning, "error reading log areas [loplugin]" ); } } // namespace |