diff options
Diffstat (limited to '_clang-format')
-rw-r--r-- | _clang-format | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/_clang-format b/_clang-format index 085320ad..2fa7c0b0 100644 --- a/_clang-format +++ b/_clang-format @@ -28,8 +28,8 @@ CommentPragmas: "^!|^:|^ SPDX-License-Identifier:" # We want a space between the type and the star for pointer types. PointerBindsToType: false -# We use template< without space. -SpaceAfterTemplateKeyword: false +# We generally use "template <" with space. +SpaceAfterTemplateKeyword: true # We want to break before the operators, but not before a '='. BreakBeforeBinaryOperators: NonAssignment @@ -106,3 +106,9 @@ AlignEscapedNewlines: Left # initializer list in list-initialization. SpaceBeforeCpp11BracedList: false +--- +# Use the Google-based style for .proto files. +Language: Proto +BasedOnStyle: Google +IndentWidth: 4 +ColumnLimit: 100 |