[clang-tools-extra] 5bbb66c - [clangd] Remove unused variable IsBroadcasting

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Mon May 29 14:17:18 PDT 2023


Author: Kazu Hirata
Date: 2023-05-29T14:17:03-07:00
New Revision: 5bbb66cae7d19836b0177f453fe6633a491f9590

URL: https://github.com/llvm/llvm-project/commit/5bbb66cae7d19836b0177f453fe6633a491f9590
DIFF: https://github.com/llvm/llvm-project/commit/5bbb66cae7d19836b0177f453fe6633a491f9590.diff

LOG: [clangd] Remove unused variable IsBroadcasting

The variable was introduced without a use by:

  commit 2bebc3d0602b407b3f351e782940959da5808f97
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   Tue Nov 20 10:56:03 2018 +0000

Added: 
    

Modified: 
    clang-tools-extra/clangd/support/Function.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/support/Function.h b/clang-tools-extra/clangd/support/Function.h
index 5437729d91b62..a0bce839a77d8 100644
--- a/clang-tools-extra/clangd/support/Function.h
+++ b/clang-tools-extra/clangd/support/Function.h
@@ -97,7 +97,6 @@ template <typename T> class Event {
                 "use a plain type: event values are always passed by const&");
 
   std::recursive_mutex ListenersMu;
-  bool IsBroadcasting = false;
   std::vector<std::pair<Listener, unsigned>> Listeners;
   unsigned ListenerCount = 0;
 };


        


More information about the cfe-commits mailing list