diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 10:24:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 10:24:30 +0200 |
commit | 54f1a882ccd8895a72abc05665591de9b06335ad (patch) | |
tree | 122151ad77891df26089c88b23d3bcbf7fb5502d /compilerplugins | |
parent | 3d614a639e8b46f9197cd0d74c306fcfa9bb7e45 (diff) |
fix my previous change to cstylecast loplugin
in commit 5a58e809fceada72cecc389588bcd792eb3d8105
Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/cstylecast.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx index 79971c307a39..cc360c7eef68 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() |