summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.h
diff options
context:
space:
mode:
authorDawn Perchik <dawn@burble.org>2015-07-25 00:19:39 +0000
committerDawn Perchik <dawn@burble.org>2015-07-25 00:19:39 +0000
commit15663c530ed23d15c8122649ab331d25b64b4f63 (patch)
tree3a13e0b847ea06770f8f501442fef6f60cb959d0 /lldb/source/Commands/CommandObjectExpression.h
parent0d4c9ea6e082951ba7cab058d1d04e2e29671a8f (diff)
downloadbcm5719-llvm-15663c530ed23d15c8122649ab331d25b64b4f63.tar.gz
bcm5719-llvm-15663c530ed23d15c8122649ab331d25b64b4f63.zip
Specify a language to use when parsing expressions.
This patch adds the option -l/--language to the expression command, for use when setting the language options or choosing an alternate FE. If not specified, the target.language setting is used. Reviewed by: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11447 llvm-svn: 243187
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.h')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.h b/lldb/source/Commands/CommandObjectExpression.h
index 168140d7fe5..7b773bf2d43 100644
--- a/lldb/source/Commands/CommandObjectExpression.h
+++ b/lldb/source/Commands/CommandObjectExpression.h
@@ -61,6 +61,7 @@ public:
bool debug;
uint32_t timeout;
bool try_all_threads;
+ lldb::LanguageType language;
LanguageRuntimeDescriptionDisplayVerbosity m_verbosity;
};
OpenPOWER on IntegriCloud