aboutsummaryrefslogtreecommitdiffstats
path: root/host/include/.clang-format
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-03-19 10:39:34 -0700
committerBrent Stapleton <brent.stapleton@ettus.com>2019-03-21 09:50:09 -0700
commit90652b9066af2e1fa72be3ba91fceea83f3af23f (patch)
treed164b1d08c0a186d5b2d174c9f5b7cf75851da11 /host/include/.clang-format
parent864d4002db7962600d3e0f3e0db118de8f6f9f47 (diff)
downloaduhd-90652b9066af2e1fa72be3ba91fceea83f3af23f.tar.gz
uhd-90652b9066af2e1fa72be3ba91fceea83f3af23f.tar.bz2
uhd-90652b9066af2e1fa72be3ba91fceea83f3af23f.zip
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 {}
Diffstat (limited to 'host/include/.clang-format')
-rw-r--r--host/include/.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/include/.clang-format b/host/include/.clang-format
index c8aad70cc..e2dc7e0a7 100644
--- a/host/include/.clang-format
+++ b/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