commit | d6bb472afd7527240fdc9681e55ebf63e3f1f7dc | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 10 11:24:00 2018 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Wed Sep 12 16:08:03 2018 +0000 |
tree | 9d674e30d3b4b7f64d125e031db1ff76ca8e351d | |
parent | 44a6f9b8de32218fbe9536cb8bc743b2276bbfb5 [diff] |
clang-format: always break template declarations To better match the defined openbmc style defined here: https://github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md#types template <typename T> class foo { using type = std::decay_t<T>; }; Change-Id: I87640f5cea5935bbee2546526ebad9ccfcf34726 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/cpp-style-and-conventions.md b/cpp-style-and-conventions.md index 257d9b2..be365ec 100644 --- a/cpp-style-and-conventions.md +++ b/cpp-style-and-conventions.md
@@ -184,7 +184,7 @@ AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: false -AlwaysBreakTemplateDeclarations: false +AlwaysBreakTemplateDeclarations: true BinPackArguments: true BinPackParameters: true BraceWrapping: