svn commit: r365575 - head
Alex Richardson
arichardson at FreeBSD.org
Thu Sep 10 14:11:25 UTC 2020
Author: arichardson
Date: Thu Sep 10 14:11:24 2020
New Revision: 365575
URL: https://svnweb.freebsd.org/changeset/base/365575
Log:
Use the correct config names for some .clang-format entries
Those values are enum entries and should use "Never" instead of "false".
clang-format currently accepts false, but it's better to use the correct
syntax in case that changes in the future.
Modified:
head/.clang-format (contents, props changed)
Modified: head/.clang-format
==============================================================================
--- head/.clang-format Thu Sep 10 13:57:57 2020 (r365574)
+++ head/.clang-format Thu Sep 10 14:11:24 2020 (r365575)
@@ -9,10 +9,10 @@ AlignEscapedNewlines: Left
AlignOperands: false
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
-AllowShortBlocksOnASingleLine: false
+AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: InlineOnly
-AllowShortIfStatementsOnASingleLine: false
+AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: false
More information about the svn-src-all
mailing list