Skip to content

Commit

Permalink
clang format added
Browse files Browse the repository at this point in the history
  • Loading branch information
beaumanvienna committed Feb 27, 2024
1 parent aaff720 commit ba9e5a5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions clang-format.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: Always
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
BeforeWhile: true
IndentBraces: true
SplitEmptyFunction: true
SplitEmptyRecord: true
BreakBeforeBraces: Allman
NamespaceIndentation: All
IndentCaseLabels: true
IndentWidth: 4
AlignConsecutiveAssignments:
Enabled: false
PointerAlignment: Left
AlignEscapedNewlines: Left
AlignConsecutiveDeclarations:
Enabled: false
AlwaysBreakTemplateDeclarations: No
AllowShortEnumsOnASingleLine: false
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeCpp11BracedList: true
AllowShortLoopsOnASingleLine: false

0 comments on commit ba9e5a5

Please sign in to comment.