Skip to content

Commit

Permalink
Adopting a clang-format based on Google style
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur authored and nmoinvaz committed Nov 1, 2024
1 parent 39255ca commit 483950d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
BasedOnStyle: Google

AccessModifierOffset: -2
AlignArrayOfStructures: Right
AlignConsecutiveBitFields: AcrossEmptyLines
AlignConsecutiveMacros: AcrossEmptyLines
AlignEscapedNewlines: Right
AlignOperands: DontAlign
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
ColumnLimit: 120
DerivePointerAlignment: false
IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWidth: 4
InsertNewlineAtEOF: true
PointerAlignment: Right
PPIndentWidth: 2
SortIncludes: Never

0 comments on commit 483950d

Please sign in to comment.