aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-06-18 01:17:46 +0000
committerEnrico Granata <egranata@apple.com>2013-06-18 01:17:46 +0000
commitc3580681c3876a323ea1b02c3dc9dde390cabfdf (patch)
treefdd5f8fd02bb1e5c8ec5cb54ecfad53985c64358 /include
parent546a0566a588132cfa9c4ba4ac43dd160fb6ebc9 (diff)
downloadlldb-c3580681c3876a323ea1b02c3dc9dde390cabfdf.tar.gz
<rdar://problem/13270271>
Only add the — (double dash) separator to a command syntax if it has any options to be separated from arguments Also remove the unused Translate() method from CommandObject git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/lldb/Interpreter/CommandObject.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/lldb/Interpreter/CommandObject.h b/include/lldb/Interpreter/CommandObject.h
index 6ddebdb56..2bfab0a8e 100644
--- a/include/lldb/Interpreter/CommandObject.h
+++ b/include/lldb/Interpreter/CommandObject.h
@@ -108,9 +108,6 @@ public:
GetSyntax ();
const char *
- Translate ();
-
- const char *
GetCommandName ();
void
@@ -129,7 +126,7 @@ public:
// the Command object from the Command dictionary (aliases have their own
// deletion scheme, so they do not need to care about this)
virtual bool
- IsRemovable() const { return false; }
+ IsRemovable () const { return false; }
bool
IsAlias () { return m_is_alias; }