Merge branch 'master' of git@github.com:danmar/cppcheck
This commit is contained in:
commit
cffa4772b0
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue