diff options
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/.clang-format b/.clang-format index ff0f39e73b..cacdf25308 100644 --- a/.clang-format +++ b/.clang-format @@ -1,18 +1,9 @@ -Standard: Cpp11 -IndentWidth: 4 +--- +Language: Cpp +BasedOnStyle: Google AccessModifierOffset: -4 -UseTab: Never -BinPackParameters: false -AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: false -AllowShortBlocksOnASingleLine: false -AllowShortFunctionsOnASingleLine: false -ConstructorInitializerAllOnOneLineOrOnePerLine: true -AlwaysBreakTemplateDeclarations: true -NamespaceIndentation: None -PointerBindsToType: true -SpacesInParentheses: false -BreakBeforeBraces: Attach -ColumnLimit: 100 -Cpp11BracedListStyle: false +AllowShortFunctionsOnASingleLine: Inline +ColumnLimit: 120 +IndentWidth: 4 SpacesBeforeTrailingComments: 1 +... |