Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
UseTab: Always
ColumnLimit: 80

BreakBeforeBraces: Custom
BraceWrapping:
AfterNamespace: true
AfterFunction: true
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true

PointerAlignment: Right
SpaceBeforeAssignmentOperators: true
NamespaceIndentation: All
IndentAccessModifiers: false
AccessModifierOffset: -4

Cpp11BracedListStyle: false

# Split constructor initializers to one per line, and put the brace on its own line
BreakConstructorInitializers: BeforeComma
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
AllowShortFunctionsOnASingleLine: None
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ ipch/
*.cachefile

# Build results
.vs/
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
Expand Down
Loading