Skip to content

Commit 2ca4760

Browse files
committed
Running astyle
1 parent b677d3d commit 2ca4760

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/tokenlist.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,8 @@ static void compileAnd(Token *&tok, AST_state& state)
758758
while (tok) {
759759
if (tok->str() == "&" && !tok->astOperand1()) {
760760
Token* tok2 = tok->next();
761-
if(!tok2)
762-
break;
761+
if (!tok2)
762+
break;
763763
if (tok2->str() == "&")
764764
tok2 = tok2->next();
765765
if (state.cpp && Token::Match(tok2, ",|)")) {

test/testgarbage.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ class TestGarbage : public TestFixture {
5050
TEST_CASE(garbageCode8); // #5511
5151
TEST_CASE(garbageCode9); // #5604
5252
TEST_CASE(garbageCode10); // #6127
53-
TEST_CASE(garbageCode11);
54-
53+
TEST_CASE(garbageCode11);
54+
5555
TEST_CASE(astGarbage);
5656
}
5757

@@ -233,7 +233,7 @@ class TestGarbage : public TestFixture {
233233
void garbageCode10() { // #6127
234234
checkCode("for( rl=reslist; rl!=NULL; rl=rl->next )");
235235
}
236-
236+
237237
void garbageCode11() { // do not crash
238238
checkCode("( ) &");
239239
}

0 commit comments

Comments
 (0)