diff options
Diffstat (limited to 'src/.clang-format')
-rw-r--r-- | src/.clang-format | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/.clang-format b/src/.clang-format new file mode 100644 index 0000000..d362604 --- /dev/null +++ b/src/.clang-format @@ -0,0 +1,23 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +AlignAfterOpenBracket: Align +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: true +AlwaysBreakAfterDefinitionReturnType: All +BinPackParameters: false +BinPackArguments: false +BreakBeforeBraces: Custom +BraceWrapping: + AfterEnum: true + AfterStruct: false + AfterFunction: true + AfterNamespace: true + BeforeElse: true +BreakBeforeBraces: Allman +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: true +NamespaceIndentation: None +UseTab: Never |