clang-format: Break after templates

Before, code would get formatted thus:

template <typename T> class X {}

Now, it gets formatted as such:

template <typename T>
class X {}
This commit is contained in:
Martin Braun 2019-03-19 10:39:34 -07:00 committed by Brent Stapleton
parent 864d4002db
commit 90652b9066
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment

View file

@ -15,7 +15,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment