Kaydet (Commit) 54f1a882 authored tarafından Noel Grandin's avatar Noel Grandin

fix my previous change to cstylecast loplugin

in commit 5a58e809

Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
üst 3d614a63
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment