diff options
author | Sean Callanan <scallanan@apple.com> | 2011-11-07 23:35:40 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-11-07 23:35:40 +0000 |
commit | c7b650670e4c0c8ac87cad2afc8566859f71645c (patch) | |
tree | 6a0f7df9084a1cffc51726f40e0d39bcead5d0e4 /lldb/source/Target/StopInfo.cpp | |
parent | 82695d6259f5767406ce9dd52b920e38a875729e (diff) | |
download | bcm5719-llvm-c7b650670e4c0c8ac87cad2afc8566859f71645c.tar.gz bcm5719-llvm-c7b650670e4c0c8ac87cad2afc8566859f71645c.zip |
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
Diffstat (limited to 'lldb/source/Target/StopInfo.cpp')
-rw-r--r-- | lldb/source/Target/StopInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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, |