Add a "command container" hierarchy to allow users to add container nodes.
authorJim Ingham <jingham@apple.com>
Tue, 12 Oct 2021 17:55:24 +0000 (10:55 -0700)
committerJim Ingham <jingham@apple.com>
Mon, 18 Oct 2021 22:29:24 +0000 (15:29 -0700)
commitc5011aed9c297d6ddd8ee4f77453b215aa27554a
tree00de36742573e43acf012de23eef1d9c43fd53e0
parent41f814589f20eb82093107ec4d3875aa0ed74cd4
Add a "command container" hierarchy to allow users to add container nodes.

The point is to allow users with a related set of script based commands
to organize their commands in a hierarchy in the command set, rather than
having to have only top-level commands.

Differential Revision: https://reviews.llvm.org/D110298
21 files changed:
lldb/include/lldb/Interpreter/CommandCompletions.h
lldb/include/lldb/Interpreter/CommandInterpreter.h
lldb/include/lldb/Interpreter/CommandObject.h
lldb/include/lldb/Interpreter/CommandObjectMultiword.h
lldb/source/API/SBCommandInterpreter.cpp
lldb/source/Commands/CommandCompletions.cpp
lldb/source/Commands/CommandObjectApropos.cpp
lldb/source/Commands/CommandObjectCommands.cpp
lldb/source/Commands/CommandObjectHelp.cpp
lldb/source/Commands/CommandObjectMultiword.cpp
lldb/source/Commands/Options.td
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/test/API/commands/command/container/TestContainerCommands.py [new file with mode: 0644]
lldb/test/API/commands/command/container/welcome.py [new file with mode: 0644]
lldb/test/API/commands/command/invalid-args/TestInvalidArgsCommand.py
lldb/test/API/commands/command/script/TestCommandScript.py
lldb/test/API/commands/expression/char/main.cpp
lldb/test/API/functionalities/completion/TestCompletion.py
lldb/unittests/Interpreter/CMakeLists.txt
lldb/unittests/Interpreter/TestCommandPaths.cpp [new file with mode: 0644]