diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..d879b0e --- /dev/null +++ b/.clang-format @@ -0,0 +1,20 @@ +BasedOnStyle: LLVM +UseTab: ForIndentation +TabWidth: 4 +IndentWidth: 4 +BreakBeforeBraces: Custom +BraceWrapping: + AfterFunction: true + AfterControlStatement: false + AfterEnum: false + AfterStruct: false + AfterUnion: false + BeforeElse: true + IndentBraces: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AllowShortFunctionsOnASingleLine: None +ColumnLimit: 100 +SortIncludes: false +SpaceBeforeParens: ControlStatements +IndentCaseLabels: true |