From 55bc128636596032c23ee855904822ad813986fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 29 May 2015 09:59:20 +0200 Subject: loplugin:loopvartoosmall Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5 --- compilerplugins/clang/loopvartoosmall.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compilerplugins/clang/loopvartoosmall.cxx') 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(); -- cgit