summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StringList.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-08-23 00:22:02 +0000
committerGreg Clayton <gclayton@apple.com>2012-08-23 00:22:02 +0000
commit754a9369db5d566ec4ec14139c3276bddfbe44c8 (patch)
treebfb8843822afb5a84543873d6ac35a237fd45995 /lldb/source/Core/StringList.cpp
parentbf493942b05b4c15aa93aab69c682ff7bdb44b45 (diff)
downloadbcm5719-llvm-754a9369db5d566ec4ec14139c3276bddfbe44c8.tar.gz
bcm5719-llvm-754a9369db5d566ec4ec14139c3276bddfbe44c8.zip
<rdar://problem/12022079>
Added a new "interpreter" properties to encapsulate any properties for the command interpreter. Right now this contains only "expand-regex-aliases", so you can now enable (disabled by default) the echoing of the command that a regular expression alias expands to: (lldb) b main Breakpoint created: 1: name = 'main', locations = 1 Note that the expanded regular expression command wasn't shown by default. You can enable it if you want to: (lldb) settings set interpreter.expand-regex-aliases true (lldb) b main breakpoint set --name 'main' Breakpoint created: 1: name = 'main', locations = 1 Also enabled auto completion for enumeration option values (OptionValueEnumeration) and for boolean option values (OptionValueBoolean). Fixed auto completion for settings names when nothing has been type (it should show all settings). llvm-svn: 162418
Diffstat (limited to 'lldb/source/Core/StringList.cpp')
-rw-r--r--lldb/source/Core/StringList.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Core/StringList.cpp b/lldb/source/Core/StringList.cpp
index dae1c817ba5..18b6224a520 100644
--- a/lldb/source/Core/StringList.cpp
+++ b/lldb/source/Core/StringList.cpp
@@ -280,6 +280,11 @@ StringList::AutoComplete (const char *s, StringList &matches, size_t &exact_idx)
}
}
}
+ else
+ {
+ // No string, so it matches everything
+ matches = *this;
+ }
return matches.GetSize();
}
OpenPOWER on IntegriCloud