summaryrefslogtreecommitdiffstats
path: root/cpp-style-and-conventions.md
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2018-09-10 11:24:00 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-09-12 16:08:03 +0000
commitd6bb472afd7527240fdc9681e55ebf63e3f1f7dc (patch)
tree9d674e30d3b4b7f64d125e031db1ff76ca8e351d /cpp-style-and-conventions.md
parent44a6f9b8de32218fbe9536cb8bc743b2276bbfb5 (diff)
downloadopenbmc-docs-d6bb472afd7527240fdc9681e55ebf63e3f1f7dc.tar.gz
openbmc-docs-d6bb472afd7527240fdc9681e55ebf63e3f1f7dc.zip
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>
Diffstat (limited to 'cpp-style-and-conventions.md')
-rw-r--r--cpp-style-and-conventions.md2
1 files changed, 1 insertions, 1 deletions
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 @@ AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
-AlwaysBreakTemplateDeclarations: false
+AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
OpenPOWER on IntegriCloud