[Lldb-commits] [lldb] [lldb] Rename lldb_assert -> _lldb_assert (NFC) (PR #123225)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 16 10:36:22 PST 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 6b3ba6677d64e394b9c929ea0d1f7c54e3146fda e4013bfe60902505d4631c59dba5205344caaf6c --extensions cpp,h -- lldb/include/lldb/Utility/LLDBAssert.h lldb/source/Utility/LLDBAssert.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Utility/LLDBAssert.cpp b/lldb/source/Utility/LLDBAssert.cpp
index 014eb3d83b..3a1874ac2a 100644
--- a/lldb/source/Utility/LLDBAssert.cpp
+++ b/lldb/source/Utility/LLDBAssert.cpp
@@ -33,7 +33,7 @@ static std::atomic<LLDBAssertCallback> g_lldb_assert_callback =
&DefaultAssertCallback;
void _lldb_assert(bool expression, const char *expr_text, const char *func,
- const char *file, unsigned int line) {
+ const char *file, unsigned int line) {
if (LLVM_LIKELY(expression))
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/123225
More information about the lldb-commits
mailing list