Kaydet (Commit) 7ef698a4 authored tarafından Michael Stahl's avatar Michael Stahl

compilerplugins: fix warning message copy-pasta

Change-Id: I3b845ae46b0d0b14be90382727cc02a838a0392e
üst 0b6a0d4c
......@@ -296,7 +296,7 @@ bool SalBool::VisitCXXStaticCastExpr(CXXStaticCastExpr * expr) {
if (isSalBool(expr->getType())) {
report(
DiagnosticsEngine::Warning,
"CStyleCastExpr, suspicious cast from %0 to %1",
"CXXStaticCastExpr, suspicious cast from %0 to %1",
expr->getLocStart())
<< expr->getSubExpr()->IgnoreParenImpCasts()->getType()
<< expr->getType() << expr->getSourceRange();
......@@ -311,7 +311,7 @@ bool SalBool::VisitCXXFunctionalCastExpr(CXXFunctionalCastExpr * expr) {
if (isSalBool(expr->getType())) {
report(
DiagnosticsEngine::Warning,
"CStyleCastExpr, suspicious cast from %0 to %1",
"CXXFunctionalCastExpr, suspicious cast from %0 to %1",
expr->getLocStart())
<< expr->getSubExpr()->IgnoreParenImpCasts()->getType()
<< expr->getType() << expr->getSourceRange();
......
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