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 85ea1aaf15b3721aaea35280ffdedad36128bf6b f7d42cbeb8ae185c7bc5f33fafbdae64738493bd -- clang/lib/CodeGen/CGDebugInfo.cpp clang/lib/CodeGen/CGDebugInfo.h clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp llvm/include/llvm/BinaryFormat/Dwarf.h llvm/lib/BinaryFormat/Dwarf.cpp llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp llvm/lib/IR/DebugInfoMetadata.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index d8cdf0c295..2322ca4374 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -4927,8 +4927,9 @@ llvm::DILocalVariable *CGDebugInfo::EmitDeclare(const BindingDecl *BD, Expr.push_back(llvm::dwarf::DW_OP_plus_uconst); Expr.push_back(Info.StorageOffset.getQuantity()); } - Expr.push_back(Info.IsSigned ? llvm::dwarf::DW_OP_LLVM_extract_bits_sext - : llvm::dwarf::DW_OP_LLVM_extract_bits_zext); + Expr.push_back(Info.IsSigned + ? llvm::dwarf::DW_OP_LLVM_extract_bits_sext + : llvm::dwarf::DW_OP_LLVM_extract_bits_zext); Expr.push_back(Info.Offset); Expr.push_back(Info.Size); } else if (fieldOffset != 0) { `````````` </details> https://github.com/llvm/llvm-project/pull/94632 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits