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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to