diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectType.cpp')
| -rw-r--r-- | lldb/source/Commands/CommandObjectType.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectType.cpp b/lldb/source/Commands/CommandObjectType.cpp index 90e224867e2a..0562b6be3cb5 100644 --- a/lldb/source/Commands/CommandObjectType.cpp +++ b/lldb/source/Commands/CommandObjectType.cpp @@ -1598,7 +1598,7 @@ static bool FixArrayTypeNameWithRegex(ConstString &type_name) { std::string type_name_str(type_name.GetCString()); type_name_str.resize(type_name_str.length() - 2); if (type_name_str.back() != ' ') - type_name_str.append(" \\[[0-9]+\\]"); + type_name_str.append(" ?\\[[0-9]+\\]"); else type_name_str.append("\\[[0-9]+\\]"); type_name.SetCString(type_name_str.c_str()); @@ -2978,7 +2978,7 @@ public: CommandObjectTypeFilter(CommandInterpreter &interpreter) : CommandObjectMultiword(interpreter, "type filter", "Commands for operating on type filters.", - "type synthetic [<sub-command-options>] ") { + "type filter [<sub-command-options>] ") { LoadSubCommand( "add", CommandObjectSP(new CommandObjectTypeFilterAdd(interpreter))); LoadSubCommand("clear", CommandObjectSP( |
