[all-commits] [llvm/llvm-project] 4f3559: [lldb] watchpoint ID common completion for command...

Gongyu Deng via All-commits all-commits at lists.llvm.org
Tue Aug 11 05:25:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f3559db1f313eed8bd84377de0fb2300a58125b
      https://github.com/llvm/llvm-project/commit/4f3559db1f313eed8bd84377de0fb2300a58125b
  Author: Gongyu Deng <gy_deng at icloud.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandCompletions.h
    M lldb/source/Commands/CommandCompletions.cpp
    M lldb/source/Commands/CommandObjectWatchpoint.cpp
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  [lldb] watchpoint ID common completion for commands `watchpoint delete/enable/disable/modify/ignore`

1. Added a common completion WatchPointIDs to complete with a list of the IDs of the current watchpoints;
2. Applied the completion to these commands: watchpoint delete/enable/disable/modify/ignore;
3. Added a correlated test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D84104




More information about the All-commits mailing list