github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- clang/lib/Format/NumericLiteralCaseFixer.cpp clang/lib/Format/NumericLiteralCaseFixer.h clang/unittests/Format/NumericLiteralCaseTest.cpp clang/include/clang/Format/Format.h clang/lib/Format/Format.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index c07f5bc33..093008a7a 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -477,9 +477,9 @@ template <> struct ScalarEnumerationTraits<FormatStyle::NumericLiteralComponentStyle> { static void enumeration(IO &IO, FormatStyle::NumericLiteralComponentStyle &Value) { - IO.enumCase(Value, "Leave", FormatStyle::NLCS_Leave); + IO.enumCase(Value, "Leave", FormatStyle::NLCS_Leave); IO.enumCase(Value, "Always", FormatStyle::NLCS_Always); - IO.enumCase(Value, "Never", FormatStyle::NLCS_Never); + IO.enumCase(Value, "Never", FormatStyle::NLCS_Never); } }; `````````` </details> https://github.com/llvm/llvm-project/pull/151590 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits