[Libreoffice-commits] core.git: compilerplugins/clang

Noel Grandin noel at peralex.com
Fri Aug 21 01:26:21 PDT 2015


 compilerplugins/clang/cstylecast.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 54f1a882ccd8895a72abc05665591de9b06335ad
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Aug 21 10:24:30 2015 +0200

    fix my previous change to cstylecast loplugin
    
    in commit 5a58e809fceada72cecc389588bcd792eb3d8105
    
    Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27

diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx
index 79971c3..cc360c7 100644
--- a/compilerplugins/clang/cstylecast.cxx
+++ b/compilerplugins/clang/cstylecast.cxx
@@ -196,7 +196,7 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) {
         performs = std::string(" (performs: ") + perf + ")";
     }
     report(
-        DiagnosticsEngine::Warning, "%0 C-style cast from %1%2 to %3%4%5",
+        DiagnosticsEngine::Warning, "C-style cast from %1%2 to %3%4%5",
         expr->getSourceRange().getBegin())
       << incompFrom
       << expr->getSubExprAsWritten()->getType() << incompTo << expr->getType()


More information about the Libreoffice-commits mailing list