Skip to content

Commit 9236ea4

Browse files
committed
Running astyle, no functional changes.
1 parent e41beb4 commit 9236ea4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/templatesimplifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ bool TemplateSimplifier::hasComplicatedSyntaxErrorsInTemplates(const Token *toke
212212
}
213213
if (level > 0) {
214214
errorToken=tok;
215-
return true;
215+
return true;
216216
}
217217
}
218218
}

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7520,7 +7520,7 @@ void Tokenizer::simplifyEnum()
75207520
break;
75217521
if (Token::Match(temp, "class|struct"))
75227522
temp = temp->next();
7523-
if (!temp)
7523+
if (!temp)
75247524
break;
75257525
if (!Token::Match(temp, "[{:]") &&
75267526
(!temp->isName() || !Token::Match(temp->next(), "[{:;]")))

test/testgarbage.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ class TestGarbage : public TestFixture {
8888
TEST_CASE(garbageCode47); // #6706
8989
TEST_CASE(garbageCode48); // #6712
9090
TEST_CASE(garbageCode49); // #6715
91-
TEST_CASE(garbageCode50); // #6718
92-
TEST_CASE(garbageCode51); // #6719
91+
TEST_CASE(garbageCode50); // #6718
92+
TEST_CASE(garbageCode51); // #6719
9393

9494
TEST_CASE(garbageValueFlow);
9595
TEST_CASE(garbageSymbolDatabase);
@@ -507,11 +507,11 @@ class TestGarbage : public TestFixture {
507507
ASSERT_THROW(checkCode(" ( ( ) ) { } ( { ( __builtin_va_arg_pack ( ) ) ; } ) { ( int { ( ) ( ( ) ) } ( ) { } ( ) ) += ( ) }"), InternalError);
508508
}
509509

510-
void garbageCode50() { // #6718
510+
void garbageCode50() { // #6718
511511
checkCode(" enum struct");
512512
}
513513

514-
void garbageCode51() { // #6719
514+
void garbageCode51() { // #6719
515515
checkCode(" (const \"C\" ...); struct base { int f2; base (int arg1, int arg2); }; global_base(0x55, 0xff); { ((global_base.f1 0x55) (global_base.f2 0xff)) { } } base::base(int arg1, int arg2) { f2 = }");
516516
}
517517

0 commit comments

Comments
 (0)