diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-03-19 10:39:34 -0700 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-03-21 09:50:09 -0700 |
commit | 90652b9066af2e1fa72be3ba91fceea83f3af23f (patch) | |
tree | d164b1d08c0a186d5b2d174c9f5b7cf75851da11 /host/include/.clang-format | |
parent | 864d4002db7962600d3e0f3e0db118de8f6f9f47 (diff) | |
download | uhd-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-format | 2 |
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 |