Skip to content

Commit

Permalink
added InsertBraces option of clang formatting and update the needed m…
Browse files Browse the repository at this point in the history
…irrors-clang-format version
  • Loading branch information
saikishor committed Dec 4, 2023
1 parent b8ba5c0 commit 0898a9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ DerivePointerAlignment: false
PointerAlignment: Middle
ReflowComments: true
IncludeBlocks: Preserve
InsertBraces: true
...
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ repos:

# CPP hooks
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v14.0.6
rev: v15.0.6
hooks:
- id: clang-format

Expand Down

0 comments on commit 0898a9b

Please sign in to comment.