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 093e6bdd4bec8ce9b3baf1e8e0a07aa6549dd5d4 a0eec9816b91057bb15a7e3fb403e655b563d3e2 -- clang/lib/Format/WhitespaceManager.cpp clang/unittests/Format/FormatTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Format/WhitespaceManager.cpp b/clang/lib/Format/WhitespaceManager.cpp index 429c26ea26..ee1d9f0c3d 100644 --- a/clang/lib/Format/WhitespaceManager.cpp +++ b/clang/lib/Format/WhitespaceManager.cpp @@ -1369,7 +1369,8 @@ void WhitespaceManager::alignArrayInitializersLeftJustified( // The first cell of every row needs to be against the left brace. for (const auto *Next = CellIter; Next; Next = Next->NextColumnElement) { auto &Change = Changes[Next->Index]; - Change.Spaces = Change.NewlinesBefore == 0 ? BracePadding : CellDescs.InitialSpaces; + Change.Spaces = + Change.NewlinesBefore == 0 ? BracePadding : CellDescs.InitialSpaces; } ++CellIter; for (auto i = 1U; i < CellDescs.CellCounts[0]; i++, ++CellIter) { `````````` </details> https://github.com/llvm/llvm-project/pull/77868 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits