Turn loops into range-based form

and some things suggested by cppcheck and compiler warnings.
This commit is contained in:
Tillmann Karras 2014-02-12 16:00:34 +01:00
parent 2ff794d299
commit 404624bf0b
52 changed files with 199 additions and 230 deletions

View file

@ -102,7 +102,7 @@ public:
while (it != expr.end())
{
char c = *it;
it++;
++it;
if (c == '`')
return false;
if (c > 0 && c == otherDelim)
@ -140,7 +140,7 @@ public:
if (!isalpha(c))
break;
name += c;
it++;
++it;
}
ControlQualifier qualifier;