Skip to content

Commit 04764cc

Browse files
clang format
1 parent c2f3386 commit 04764cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.clang-format

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
BasedOnStyle: Google
2+
ColumnLimit: 120
3+
AllowShortFunctionsOnASingleLine: None
4+
AllowShortCaseLabelsOnASingleLine: true

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ repos:
2525
rev: v1.3.5
2626
hooks:
2727
- id: clang-format
28-
args: [--style=Google, -i]
28+
args: [--style=file, -i, --version=14.0.0]

0 commit comments

Comments
 (0)