astyle fix
This commit is contained in:
parent
be82d09003
commit
e0f416e52e
|
@ -18,7 +18,8 @@ void f(char k)
|
|||
|
||||
void possible_style()
|
||||
{
|
||||
std::list<int>::iterator it;\n
|
||||
std::list<int>::iterator it;
|
||||
\n
|
||||
for (it = ab.begin(); it != ab.end(); it++)\n
|
||||
;
|
||||
}
|
||||
|
|
|
@ -2954,7 +2954,8 @@ bool Tokenizer::simplifyCalculations()
|
|||
// evaluate "2 + 2 - 2 - 2"
|
||||
// as (((2 + 2) - 2) - 2) = 0
|
||||
// instead of ((2 + 2) - (2 - 2)) = 4
|
||||
if (Token::Match(tok->next(), "[+-*/]")) {
|
||||
if (Token::Match(tok->next(), "[+-*/]"))
|
||||
{
|
||||
tok = tok->tokAt(-2);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue