Skip to content

Commit

Permalink
Add clang format for c++ files
Browse files Browse the repository at this point in the history
  • Loading branch information
isteinbrecher committed Oct 23, 2023
1 parent d325788 commit 719c1f9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Define the base style
BasedOnStyle: Google

## Deviations from the base style
AlignAfterOpenBracket: DontAlign
AlignOperands: false
BreakBeforeBraces: Allman
ColumnLimit: 100
MaxEmptyLinesToKeep: 3
NamespaceIndentation: All
SortIncludes: false
SpacesInContainerLiterals: false
Standard: Cpp11
TabWidth: 4
IndentWidth: 4

0 comments on commit 719c1f9

Please sign in to comment.