Skip to content

Commit

Permalink
Add preliminary .clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mauser committed Apr 19, 2020
1 parent e569cfb commit ac713f1
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 @@
#This file is currently just used as a prototype and is not final!
Language: Cpp

#General
UseTab: Always
TabWidth: 4
IndentWidth: 4
SortIncludes: false #just for the moment..
ColumnLimit: 120

#Everything else..
AlignAfterOpenBracket: Align
AllowShortIfStatementsOnASingleLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
BreakBeforeBraces: Linux
BinPackArguments: true
BinPackParameters: true
SpacesInParentheses: false #this is new for H2
SpaceAfterCStyleCast: true
KeepEmptyLinesAtTheStartOfBlocks: false

PointerAlignment: Left

0 comments on commit ac713f1

Please sign in to comment.