aboutsummaryrefslogtreecommitdiffstats
path: root/.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 /.clang-format
parentuhd: Remove cal containers (diff)
downloaduhd-90652b9066af2e1fa72be3ba91fceea83f3af23f.tar.xz
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 '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 6e9ab97ca..343f2a6c5 100644
--- a/.clang-format
+++ b/.clang-format
@@ -15,7 +15,7 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
-AlwaysBreakTemplateDeclarations: false
+AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment