Skip to content

Commit f9c17d9

Browse files
[pre-commit.ci] pre-commit autoupdate (#3822)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/mirrors-clang-format: v19.1.7 → v20.1.0](pre-commit/mirrors-clang-format@v19.1.7...v20.1.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 1f6e7de commit f9c17d9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: check-yaml
1010
- id: check-added-large-files
1111
- repo: https://github.com/pre-commit/mirrors-clang-format
12-
rev: v19.1.7
12+
rev: v20.1.0
1313
hooks:
1414
- id: clang-format
1515
types_or: [c++, c]

test/lexer_test.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,10 @@ int TEST_NAME(int, char**) {
293293
"'wonder'+0 : 'prowonderbread'+3 --> 6");
294294

295295
// Test all Lexer types.
296-
#define NO {"", Lexer::Type::word}
296+
#define NO \
297+
{ \
298+
"", Lexer::Type::word \
299+
}
297300
struct {
298301
const char* input;
299302
struct {

0 commit comments

Comments
 (0)