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 a7bc9cb6ffa91ff0ebabc45c0c7263c7c2c3a4de ff8cf4e87473dec2e3f55114cb92ae5a63d9488c -- clang/test/CodeGen/code_align_function.c clang/lib/CodeGen/CodeGenModule.cpp clang/lib/Sema/SemaDeclAttr.cpp clang/test/Sema/code_align.c llvm/lib/CodeGen/MachineBlockPlacement.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index ba4f161ef3..90e3c91707 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -3499,7 +3499,8 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &MF) { // specific alignment. for (auto MBI = std::next(MF.begin()), MBE = MF.end(); MBI != MBE; ++MBI) { auto LayoutPred = std::prev(MBI); - unsigned MaxAlignment = std::max(1ULL << AlignAllNonFallThruBlocks, MBBAlignment); + unsigned MaxAlignment = + std::max(1ULL << AlignAllNonFallThruBlocks, MBBAlignment); if (!LayoutPred->isSuccessor(&*MBI)) { if (HasMaxBytesOverride) MBI->setAlignment(std::max(Align(MaxAlignment), MBI->getAlignment()), `````````` </details> https://github.com/llvm/llvm-project/pull/80765 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits