From c7b650670e4c0c8ac87cad2afc8566859f71645c Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Mon, 7 Nov 2011 23:35:40 +0000 Subject: Added a language parameter to the expression parser, which will in the future allow expressions to be compiled as C, C++, and Objective-C instead of the current default Objective-C++. This feature requires some additional support from Clang -- specifically, it requires reference types in the parser regardless of language -- so it is not yet exposed to the user. llvm-svn: 144042 --- lldb/source/Target/StopInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Target/StopInfo.cpp') diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp index cfd340afa4f..f70f2b08e11 100644 --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -208,6 +208,7 @@ public: Error error; result_code = ClangUserExpression::EvaluateWithError (context.exe_ctx, eExecutionPolicyAlways, + lldb::eLanguageTypeUnknown, discard_on_error, bp_loc_sp->GetConditionText(), NULL, @@ -446,6 +447,7 @@ public: Error error; result_code = ClangUserExpression::EvaluateWithError (context.exe_ctx, eExecutionPolicyAlways, + lldb::eLanguageTypeUnknown, discard_on_error, wp_sp->GetConditionText(), NULL, -- cgit v1.2.1