From 3536840f526f7e685a63dc46710bf58798df9af8 Mon Sep 17 00:00:00 2001
From: John Beard <john.j.beard@gmail.com>
Date: Wed, 27 Mar 2019 14:09:09 +0000
Subject: [PATCH] Clang-format: break after templates

Enforce the following format:

template<>
void function<TYPE>()

Rather than:

template<> void function<TYPE>()

This is the more common format in KiCad (about 8:1) and agrees
with the uncrustify.cfg rules.
---
 _clang-format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_clang-format b/_clang-format
index 230059149b..1a4179264e 100644
--- a/_clang-format
+++ b/_clang-format
@@ -13,7 +13,7 @@ AllowShortIfStatementsOnASingleLine: false
 AllowShortLoopsOnASingleLine: false
 AlwaysBreakAfterReturnType: None
 AlwaysBreakBeforeMultilineStrings: true
-AlwaysBreakTemplateDeclarations: false
+AlwaysBreakTemplateDeclarations: true
 BinPackArguments: true
 BinPackParameters: true
 BreakBeforeBinaryOperators: NonAssignment