diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-02-28 13:19:43 -0600 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-02-28 13:21:04 -0600 |
commit | 2ce295b000f39fbf3d3eaaff853eeac1959edd1a (patch) | |
tree | 9ddfcdea73d14c258e5b9cd45768d47374051387 | |
parent | 811d3a734f8373d47227d41e356ab73c712afea7 (diff) | |
download | openbmc-docs-2ce295b000f39fbf3d3eaaff853eeac1959edd1a.tar.gz openbmc-docs-2ce295b000f39fbf3d3eaaff853eeac1959edd1a.zip |
cpp-style: Set IndentWrappedFunctionNames to true
Change IndentWrappedFunctionNames to true in the .clang-format
example to indent function definitions that don't fit in a
single line.
Before:
RequestedActivations
requestedActivation(RequestedActivations value) override;
After:
RequestedActivations
requestedActivation(RequestedActivations value) override;
Change-Id: I92e31b0b7af80b2c974f5a63a622d461f02bb802
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
-rw-r--r-- | cpp-style-and-conventions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp-style-and-conventions.md b/cpp-style-and-conventions.md index f09aefa..3414ad6 100644 --- a/cpp-style-and-conventions.md +++ b/cpp-style-and-conventions.md @@ -210,7 +210,7 @@ FixNamespaceComments: true ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] IndentCaseLabels: true IndentWidth: 4 -IndentWrappedFunctionNames: false +IndentWrappedFunctionNames: true KeepEmptyLinesAtTheStartOfBlocks: true MacroBlockBegin: '' MacroBlockEnd: '' |