Skip to content

Commit de4a331

Browse files
committed
astyle formatting
[ci skip]
1 parent 9838bfa commit de4a331

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎lib/checkother.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2825,7 +2825,7 @@ static bool isVariableExpression(const Token* tok)
28252825
if (Token::Match(tok, "%var%"))
28262826
return true;
28272827
if (Token::simpleMatch(tok, "."))
2828-
return isVariableExpression(tok->astOperand1()) &&
2828+
return isVariableExpression(tok->astOperand1()) &&
28292829
isVariableExpression(tok->astOperand2());
28302830
return false;
28312831
}

‎lib/tokenize.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7779,7 +7779,7 @@ bool Tokenizer::simplifyRedundantParentheses()
77797779
if (tok->str() != "(")
77807780
continue;
77817781

7782-
if (isCPP() && Token::simpleMatch(tok->previous(), "} (") &&
7782+
if (isCPP() && Token::simpleMatch(tok->previous(), "} (") &&
77837783
Token::Match(tok->previous()->link()->previous(), "%name%|> {"))
77847784
continue;
77857785

‎test/testincompletestatement.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,13 @@ class TestIncompleteStatement : public TestFixture {
289289
void cpp11init3() {
290290
check("struct A { void operator()(int); };\n"
291291
"void f() {\n"
292-
"A{}(0);\n"
292+
"A{}(0);\n"
293293
"}\n");
294294
ASSERT_EQUALS("", errout.str());
295295

296296
check("template<class> struct A { void operator()(int); };\n"
297297
"void f() {\n"
298-
"A<int>{}(0);\n"
298+
"A<int>{}(0);\n"
299299
"}\n");
300300
ASSERT_EQUALS("", errout.str());
301301
}

‎test/testtokenize.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7662,7 +7662,7 @@ class TestTokenizer : public TestFixture {
76627662
"template <bool> using c = int;\n"
76637663
"template <bool b> c<b> d;\n"
76647664
"template <> struct a<int> {\n"
7665-
"template <typename e> constexpr auto g() { d<0 || e::f>; return 0; }\n"
7665+
"template <typename e> constexpr auto g() { d<0 || e::f>; return 0; }\n"
76667666
"};\n"))
76677667
}
76687668

0 commit comments

Comments
 (0)