From 116be5347ef9a97e8c82d77279deaaebe8c8266f Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 1 Jul 2010 20:08:22 +0000 Subject: Added a SemaConsumer that transforms the ASTs for an expression, adding code to put the value of the last expression (if there is one) into a variable and write the address of that variable to a global pointer. llvm-svn: 107419 --- lldb/source/Commands/CommandObjectExpression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectExpression.cpp') diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index e98303c739e..64106eda2d0 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -233,7 +233,7 @@ CommandObjectExpression::EvaluateExpression (const char *expr, bool bare, Stream if (bare) num_errors = clang_expr.ParseBareExpression (llvm::StringRef (expr), error_stream); else - num_errors = clang_expr.ParseExpression (expr, error_stream); + num_errors = clang_expr.ParseExpression (expr, error_stream, m_options.use_ir); if (num_errors) { -- cgit v1.2.3