[Lldb-commits] [lldb] Fix a little thinko in sending events to secondary listeners. (PR #71997)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 10 15:18:53 PST 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 64f62de96609dc3ea9a8a914a9e9445b7f4d625d d76a7dec707e484e501b45a32066f852cba8de95 -- lldb/source/Utility/Broadcaster.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Utility/Broadcaster.cpp b/lldb/source/Utility/Broadcaster.cpp
index 914812d78..64e21c0bd 100644
--- a/lldb/source/Utility/Broadcaster.cpp
+++ b/lldb/source/Utility/Broadcaster.cpp
@@ -281,7 +281,7 @@ void Broadcaster::BroadcasterImpl::PrivateBroadcastEvent(EventSP &event_sp,
// start handling the event before we're done adding all the pending
// listeners.
// Also, don't redo the check for unique here, since otherwise that could
- // be racy, and if we send the event to the primary listener then we SHOULD
+ // be racy, and if we send the event to the primary listener then we SHOULD
// send it to the secondary listeners or they will get out of sync with the
// primary listener.
if (!hijacking_listener_sp) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/71997
More information about the lldb-commits
mailing list