summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/redundantcast.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/redundantcast.cxx b/compilerplugins/clang/redundantcast.cxx
index 9604365dc945..87bed77a22f8 100644
--- a/compilerplugins/clang/redundantcast.cxx
+++ b/compilerplugins/clang/redundantcast.cxx
@@ -365,7 +365,7 @@ bool RedundantCast::VisitCXXStaticCastExpr(CXXStaticCastExpr const * expr) {
report(
DiagnosticsEngine::Warning,
("in static_cast from %0 %1 to %2 %3, remove redundant top-level"
- " %select{const qualifier|volatile qualifer|const volatile"
+ " %select{const qualifier|volatile qualifier|const volatile"
" qualifiers}4"),
expr->getExprLoc())
<< t1 << printExprValueKind(sub->getValueKind())