diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2020-09-10 14:11:24 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2020-09-10 14:11:24 +0000 |
commit | 8efceeb6ac90d58b19b04fa7900ed45659b82f2b (patch) | |
tree | e94553c38612f1e60f205f23ee0a2428ba9932a9 /.clang-format | |
parent | 500e0f0833050f7908bf088d99a1e5f0974e770f (diff) | |
download | src-test2-8efceeb6ac90d58b19b04fa7900ed45659b82f2b.tar.gz src-test2-8efceeb6ac90d58b19b04fa7900ed45659b82f2b.zip |
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.
Notes
Notes:
svn path=/head/; revision=365575
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format index c150c4d3b206..379ae2a98a98 100644 --- a/.clang-format +++ b/.clang-format @@ -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 |