[all-commits] [llvm/llvm-project] 147b60: [lldb] Unify WatchpointSP variable names (NFC)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Mar 17 10:09:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 147b60964064b17163f1788dcd24c366ba3d54b1
      https://github.com/llvm/llvm-project/commit/147b60964064b17163f1788dcd24c366ba3d54b1
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M lldb/source/Commands/CommandObjectWatchpoint.cpp

  Log Message:
  -----------
  [lldb] Unify WatchpointSP variable names (NFC)

LLDB uses `_up`, `_sp` and `_wp` suffixes for unique, shared and weak
pointers respectively. This can become confusing in combination with
watchpoints which are commonly abbreviated to `wp`. Update
CommandObjectWatchpoint to use `watch_sp` for all `WatchpointSP`
variables.




More information about the All-commits mailing list