[Libreoffice-commits] .: compilerplugins/clang
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Oct 13 09:28:01 PDT 2012
compilerplugins/clang/sallogareas.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit f1b6058a3b321a150c0373ddc6066ecc8eb85312
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Sat Oct 13 18:26:26 2012 +0200
remove debug output
Change-Id: I719ce8870320f3bddd68fe26cf2c2b941e0a9403
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx
index b7c2f22..caf2a47 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
More information about the Libreoffice-commits
mailing list