Merge branch 'master' of git@github.com:danmar/cppcheck

This commit is contained in:
Kimmo Varis 2009-07-14 18:48:03 +03:00
commit cffa4772b0
1 changed files with 6 additions and 0 deletions

View File

@ -478,6 +478,12 @@ bool Tokenizer::tokenize(std::istream &code, const char FileName[])
// replace "unsigned i" with "unsigned int i"
unsignedint();
/**
* @todo simplify "for"
* - move out start-statement "for (a;b;c);" => "{ a; for(;b;c); }"
* - try to change "for" loop to a "while" loop instead
*/
// Split up variable declarations.
simplifyVarDecl();