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 origin/main HEAD --extensions cpp,h -- 
lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp 
lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp 
b/lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
index 2e98fd914..8fce1a0ff 100644
--- a/lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
+++ b/lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
@@ -1148,7 +1148,8 @@ UUID ObjectFileWasm::GetUUID() {
     if (g_sect_name_build_id != sect_info.name)
       continue;
 
-    DataExtractor section_data = ReadImageData(sect_info.offset, 
sect_info.size);
+    DataExtractor section_data =
+        ReadImageData(sect_info.offset, sect_info.size);
     llvm::DataExtractor data = section_data.GetAsLLVM();
     llvm::DataExtractor::Cursor c(0);
     llvm::Expected<uint32_t> length = GetULEB32(data, c);

``````````

</details>


https://github.com/llvm/llvm-project/pull/213554
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to