diff options
Diffstat (limited to '.clang-format')
| -rw-r--r-- | .clang-format | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..6310257 --- /dev/null +++ b/.clang-format @@ -0,0 +1,26 @@ +# Formatting configuration for shaders +BasedOnStyle: LLVM +UseTab: Never +IndentWidth: 4 +TabWidth: 4 +BreakBeforeBraces: Custom +BraceWrapping: + AfterCaseLabel: false + AfterControlStatement: Never + AfterEnum: true + AfterFunction: true + AfterNamespace: true + AfterStruct: true + AfterUnion: true + BeforeElse: false + BeforeWhile: false + IndentBraces: false +AllowShortIfStatementsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +ColumnLimit: 90 +AccessModifierOffset: -4 +AlwaysBreakTemplateDeclarations: Yes +BinPackArguments: false +BinPackParameters: OnePerLine +BreakAfterOpenBracketFunction: true +BreakBeforeCloseBracketFunction: true |
