llvm-project/lldb/source/Plugins/LanguageRuntime
Jim Ingham c1b07d6177 Have CommandObjectParsed check for "commands that take no arguments".
This is currently being done in an ad hoc way, and so for some
commands it isn't being checked.  We have the info to make this check,
since commands are supposed to add their arguments to the m_arguments
field of the CommandObject.  This change uses that info to check whether
the command received arguments in error.

A handful of commands weren't defining their argument types, I also had
to fix them.  And a bunch of commands were checking for arguments by
hand, so I removed those checks in favor of the CommandObject one.  That
also meant I had to change some tests that were checking for the ad hoc
error outputs.

Differential Revision: https://reviews.llvm.org/D128453
2022-06-27 15:14:41 -07:00
..
CPlusPlus [LLDB] Replace use of double underscore in identifiers 2022-02-16 11:54:45 -08:00
ObjC [lldb] Fix up Objective-C ISA pointers 2022-06-23 14:16:29 -07:00
RenderScript Have CommandObjectParsed check for "commands that take no arguments". 2022-06-27 15:14:41 -07:00
CMakeLists.txt