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 53a6a11e0d51229d341b8906252645cd8a5de796
b285bba80b7b7ad4e351485d59df41f328462867 --extensions h,cpp --
lldb/source/Core/DynamicLoader.cpp
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Core/DynamicLoader.cpp
b/lldb/source/Core/DynamicLoader.cpp
index 03f360c59d..6b3187790d 100644
--- a/lldb/source/Core/DynamicLoader.cpp
+++ b/lldb/source/Core/DynamicLoader.cpp
@@ -159,7 +159,8 @@ ModuleSP DynamicLoader::FindModuleViaTarget(const FileSpec
&file) {
ModuleSpec module_spec(file, target.GetArchitecture());
ModuleSpec module_spec_from_process;
// Process may be able to augment the module_spec with UUID, e.g. ELF core.
- if (m_process->GetModuleSpec(file, target.GetArchitecture(),
module_spec_from_process)) {
+ if (m_process->GetModuleSpec(file, target.GetArchitecture(),
+ module_spec_from_process)) {
module_spec = module_spec_from_process;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/117070
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits