runastyle

This commit is contained in:
Sébastien Debrard 2011-01-26 20:10:56 +01:00
parent 3e7f29d6f9
commit 078c36921d
1 changed files with 2 additions and 2 deletions

View File

@ -157,12 +157,12 @@ void CheckOther::checkSizeofForArrayParameter()
{ {
declTok = declTok->next()->link(); declTok = declTok->next()->link();
} }
if (!(Token::Match(declTok->next(), "= %str%")) && !(Token::simpleMatch(declTok->next(), "= {")) && !(Token::simpleMatch(declTok->next(), ";"))) if (!(Token::Match(declTok->next(), "= %str%")) && !(Token::simpleMatch(declTok->next(), "= {")) && !(Token::simpleMatch(declTok->next(), ";")))
{ {
if (Token::simpleMatch(declTok->next(), ",")) if (Token::simpleMatch(declTok->next(), ","))
{ {
declTok = declTok->next(); declTok = declTok->next();
while(!Token::simpleMatch(declTok, ";")) while (!Token::simpleMatch(declTok, ";"))
{ {
if (Token::simpleMatch(declTok, ")")) if (Token::simpleMatch(declTok, ")"))
{ {