Skip to content
Permalink
Browse files

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 {}
  • Loading branch information...
mbr0wn authored and brentstapleton committed Mar 19, 2019
1 parent 864d400 commit 90652b9066af2e1fa72be3ba91fceea83f3af23f
Showing with 2 additions and 2 deletions.
  1. +1 −1 .clang-format
  2. +1 −1 host/include/.clang-format
@@ -15,7 +15,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
@@ -15,7 +15,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment

0 comments on commit 90652b9

Please sign in to comment.
You can’t perform that action at this time.