summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/loopvartoosmall.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/loopvartoosmall.cxx')
-rw-r--r--compilerplugins/clang/loopvartoosmall.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/loopvartoosmall.cxx b/compilerplugins/clang/loopvartoosmall.cxx
index bba88548f9eb..adcc2c5656d0 100644
--- a/compilerplugins/clang/loopvartoosmall.cxx
+++ b/compilerplugins/clang/loopvartoosmall.cxx
@@ -103,7 +103,7 @@ bool LoopVarTooSmall::VisitForStmt( const ForStmt* stmt )
if (qt1BitWidth < qt2BitWidth) {
report(
DiagnosticsEngine::Warning,
- "loop index type is smaller than length type. " + qt.getAsString() + " < " + qt2.getAsString(),
+ "loop index type is narrower than length type. " + qt.getAsString() + " < " + qt2.getAsString(),
stmt->getInit()->getLocStart())
<< stmt->getInit()->getSourceRange();
//stmt->getCond()->dump();