Add clang-format format file\nThis allows formatting in e.g. VSCode similar to AStyle.
This commit is contained in:
12
.clang-format
Normal file
12
.clang-format
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
BasedOnStyle: LLVM
|
||||||
|
BreakBeforeBraces: Linux
|
||||||
|
UseTab: Never
|
||||||
|
IndentWidth: 4
|
||||||
|
TabWidth: 4
|
||||||
|
ColumnLimit: 0
|
||||||
|
AccessModifierOffset: -4
|
||||||
|
AllowShortIfStatementsOnASingleLine: Always
|
||||||
|
AlignAfterOpenBracket: DontAlign
|
||||||
|
BreakConstructorInitializers: AfterColon
|
||||||
|
NamespaceIndentation: None
|
||||||
|
IndentCaseLabels: true
|
Reference in New Issue
Block a user