[Lldb-commits] [lldb] [LLDB] added getName method in SBModule (PR #150331)

via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 4 12:55:02 PDT 2025


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 cpp,h -- lldb/include/lldb/API/SBModule.h lldb/source/API/SBModule.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp
index d197587e5..5a57f45f0 100644
--- a/lldb/source/API/SBModule.cpp
+++ b/lldb/source/API/SBModule.cpp
@@ -676,6 +676,6 @@ const char *SBModule::GetObjectName() const {
   LLDB_INSTRUMENT_VA(this);
 
   if (!m_opaque_sp)
-    return nullptr; 
+    return nullptr;
   return m_opaque_sp->GetObjectName().AsCString();
 }

``````````

</details>


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


More information about the lldb-commits mailing list