llvm-project/lldb/test/API/commands/command
Jim Ingham d518ed42ae Handle aliasing a non-top-level command.
This didn't work previously because we had to check whether the incoming
command was an alias command, but if it wasn't we still used the result
of that lookup - which was by the command's node name.  That fails for
non-top-level commands.  In this case, the resolution is pretty simple since
we already have the node's CommandObject, so all we needed to do was turn
it into a shared pointer, for which I added enable_shared_from_this to the
CommandObject.

Differential Revision: https://reviews.llvm.org/D137662
2022-11-09 10:11:16 -08:00
..
backticks Revert "Revert "Be more careful to maintain quoting information when parsing commands."" 2022-09-14 14:49:51 -07:00
container Handle aliasing a non-top-level command. 2022-11-09 10:11:16 -08:00
delete [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
invalid-args [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
nested_alias [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
regex [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
script [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
script_alias [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
source [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
categories [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00