From 7ef698a47be841b9a5922a3a6251edd51ba57b25 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 30 Oct 2015 13:32:00 +0100 Subject: compilerplugins: fix warning message copy-pasta Change-Id: I3b845ae46b0d0b14be90382727cc02a838a0392e --- compilerplugins/clang/salbool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compilerplugins/clang/salbool.cxx b/compilerplugins/clang/salbool.cxx index 933f80fc7839..fd7dc9358426 100644 --- a/compilerplugins/clang/salbool.cxx +++ b/compilerplugins/clang/salbool.cxx @@ -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(); -- cgit v1.2.3