diff options
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/salbool.cxx | 4 |
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(); |