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 0adab6b1af5b1874099b1e97fdcea2ce5020d79a 
5cca8f301abde9333715e97d671afc23d75b9acd --extensions h,cpp -- 
lldb/include/lldb/Core/dwarf.h lldb/source/Plugins/SymbolFile/DWARF/DIERef.h 
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h 
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h 
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 
b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
index 1efac9cb74..7bcb0e8351 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -3202,9 +3202,9 @@ size_t SymbolFileDWARF::ParseBlocksRecursive(Function 
&func) {
     // We can't use the file address from the Function object as (in the OSO
     // case) it will already be remapped to the main module.
     if (llvm::Expected<llvm::DWARFAddressRangesVector> ranges =
-        function_die.GetDIE()->GetAttributeAddressRanges(
-            function_die.GetCU(),
-            /*check_hi_lo_pc=*/true)) {
+            function_die.GetDIE()->GetAttributeAddressRanges(
+                function_die.GetCU(),
+                /*check_hi_lo_pc=*/true)) {
       if (ranges->empty())
         return 0;
       // TODO: Use the first range instead.

``````````

</details>


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

Reply via email to