From fba42d674ee6312779adaaaa18070364c1c7abb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Mon, 19 Sep 2022 20:41:21 +0200 Subject: [PATCH] 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 --- _clang-format | 4 ++-- 1 file 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