diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-09-19 20:41:21 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2023-08-22 14:15:22 +0000 |
commit | fba42d674ee6312779adaaaa18070364c1c7abb9 (patch) | |
tree | 74d2198ff302f58ee8a87dbed296e457fc692c1f /_clang-format | |
parent | 9ea71ea245644a2c0d78b0a3f9a9964e151ef318 (diff) |
clang-format: Add space after template keyword
simple git grep-ing shows more uses of _with_ space than without
Change-Id: I0b2d94aa6312dd6856a2b886bc7ec028978dc0cf
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Diffstat (limited to '_clang-format')
-rw-r--r-- | _clang-format | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_clang-format b/_clang-format index 085320ad..76421989 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 |