[llvm] [DebugInfo] Change return type of DWARFDebugAbbrev::parse (PR #67191)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 13:14:16 PDT 2023


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 64d1ceaa3884608c97f8457de6ab64a038ea49d8 02cd3a2a28a37fa7cb6c93821e4eab41aefe33b8 -- llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp llvm/tools/obj2yaml/dwarf2yaml.cpp llvm/tools/obj2yaml/macho2yaml.cpp llvm/tools/obj2yaml/obj2yaml.h llvm/unittests/DebugInfo/DWARF/DWARFDebugAbbrevTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugAbbrevTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugAbbrevTest.cpp
index a85b81548957..871dbf1a10f4 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugAbbrevTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugAbbrevTest.cpp
@@ -422,7 +422,7 @@ TEST(DWARFDebugAbbrevTest, DWARFDebugAbbrevParseError) {
 
   // Afterwards, we're going to write an Abbreviation Decl manually without a
   // termintating sequence.
-  encodeULEB128(FirstCode - 1 , OS);
+  encodeULEB128(FirstCode - 1, OS);
   encodeULEB128(DW_TAG_compile_unit, OS);
   OS << static_cast<uint8_t>(DW_CHILDREN_no);
   encodeULEB128(DW_AT_name, OS);

``````````

</details>


https://github.com/llvm/llvm-project/pull/67191


More information about the llvm-commits mailing list