[Lldb-commits] [lldb] [lldb][NFC] Refactor Watchpoint class (PR #163695)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 31 06:07:44 PDT 2025


================
@@ -124,7 +138,7 @@ class Watchpoint : public std::enable_shared_from_this<Watchpoint>,
       void *baton, lldb_private::StoppointCallbackContext *context,
       lldb::user_id_t break_id, lldb::user_id_t break_loc_id);
 
-  void GetDescription(Stream *s, lldb::DescriptionLevel level);
+  void GetDescription(Stream *s, lldb::DescriptionLevel level) const;
----------------
DavidSpickett wrote:

Anything that can be made const because it's already acting const, would be happy to accept those changes on their own.

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


More information about the lldb-commits mailing list