summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-10-30 13:32:00 +0100
committerMichael Stahl <mstahl@redhat.com>2015-10-30 16:09:37 +0100
commit7ef698a47be841b9a5922a3a6251edd51ba57b25 (patch)
tree263066c1acf7780a6ef50d48f6a621d2cb35894a /compilerplugins
parent0b6a0d4c3184794711e25d06b42a4be171c139a6 (diff)
compilerplugins: fix warning message copy-pasta
Change-Id: I3b845ae46b0d0b14be90382727cc02a838a0392e
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/salbool.cxx4
1 files 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();