summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-21 10:24:30 +0200
committerNoel Grandin <noel@peralex.com>2015-08-21 10:24:30 +0200
commit54f1a882ccd8895a72abc05665591de9b06335ad (patch)
tree122151ad77891df26089c88b23d3bcbf7fb5502d /compilerplugins
parent3d614a639e8b46f9197cd0d74c306fcfa9bb7e45 (diff)
fix my previous change to cstylecast loplugin
in commit 5a58e809fceada72cecc389588bcd792eb3d8105 Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/cstylecast.cxx2
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()