Skip to content

Commit c8d9a9a

Browse files
committed
clang-format: add InsertBraces, as that is what clang-tidy wants.
1 parent 1caea46 commit c8d9a9a

3 files changed

Lines changed: 142 additions & 68 deletions

File tree

.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ConstructorInitializerIndentWidth: 4
2222
ContinuationIndentWidth: 4
2323
IndentCaseLabels: false
2424
IndentWidth: 4
25+
InsertBraces: true
2526
IndentWrappedFunctionNames: false
2627
MaxEmptyLinesToKeep: 1
2728
NamespaceIndentation: None

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ vcpkg_installed/
208208
################################################################################
209209
## IDE directories and metadata
210210

211+
.ccls-cache/
212+
211213
# Visual Studio
212214
.vs/
213215
out/

0 commit comments

Comments
 (0)