diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000000..3557822cbd --- /dev/null +++ b/.clang-format @@ -0,0 +1,19 @@ +Standard: Cpp11 +IndentWidth: 4 +AccessModifierOffset: -4 +UseTab: Never +BinPackParameters: true +AllowShortFunctionsOnASingleLine: false +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +ConstructorInitializerAllOnOneLineOrOnePerLine: true +AlwaysBreakTemplateDeclarations: true +NamespaceIndentation: None +PointerBindsToType: false +SpacesInParentheses: false +BreakBeforeBraces: Attach +ColumnLimit: 80 +Cpp11BracedListStyle: true +SpaceBeforeParens: ControlStatements +SpacesBeforeTrailingComments: 1 +SpacesInContainerLiterals: true |