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 -- 
lldb/source/Expression/DWARFExpression.cpp lldb/source/Symbol/UnwindPlan.cpp 
lldb/unittests/Symbol/PostfixExpressionTest.cpp 
lldb/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp 
llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h 
llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h 
llvm/lib/DebugInfo/DWARF/DWARFCFIProgram.cpp 
llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp 
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp 
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp 
llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp 
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp 
llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp 
llvm/tools/llvm-objdump/SourcePrinter.cpp 
llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/Symbol/UnwindPlan.cpp 
b/lldb/source/Symbol/UnwindPlan.cpp
index 9ccbd4064..e9ac6b6cd 100644
--- a/lldb/source/Symbol/UnwindPlan.cpp
+++ b/lldb/source/Symbol/UnwindPlan.cpp
@@ -87,7 +87,8 @@ static void DumpDWARFExpr(Stream &s, llvm::ArrayRef<uint8_t> 
expr, Thread *threa
   if (auto order_and_width = GetByteOrderAndAddrSize(thread)) {
     llvm::DataExtractor data(expr, order_and_width->first == eByteOrderLittle,
                              order_and_width->second);
-    llvm::DWARFExpression E(data, order_and_width->second, 
llvm::dwarf::DWARF32);
+    llvm::DWARFExpression E(data, order_and_width->second,
+                            llvm::dwarf::DWARF32);
     llvm::DWARFExpressionPrinter::print(&E, s.AsRawOstream(),
                                         llvm::DIDumpOptions(), nullptr);
   } else

``````````

</details>


https://github.com/llvm/llvm-project/pull/143170
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to