summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-05-05 02:47:44 +0000
committerJim Ingham <jingham@apple.com>2014-05-05 02:47:44 +0000
commit8646d3c1647fdaa4b27ff7369f8a912c24b30666 (patch)
tree41a334cb6d26de36102f2c9353eafac53d1198f7 /lldb/source/Interpreter
parent1624a2d3c8a9558840b5e17623d232c0aa3c01cd (diff)
downloadbcm5719-llvm-8646d3c1647fdaa4b27ff7369f8a912c24b30666.tar.gz
bcm5719-llvm-8646d3c1647fdaa4b27ff7369f8a912c24b30666.zip
Rename eExecution*** to eExpression*** to be consistent with the result type.
llvm-svn: 207945
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r--lldb/source/Interpreter/Args.cpp2
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp20
2 files changed, 11 insertions, 11 deletions
diff --git a/lldb/source/Interpreter/Args.cpp b/lldb/source/Interpreter/Args.cpp
index 6dfcaaa1350..5700b82f324 100644
--- a/lldb/source/Interpreter/Args.cpp
+++ b/lldb/source/Interpreter/Args.cpp
@@ -823,7 +823,7 @@ Args::StringToAddress (const ExecutionContext *exe_ctx, const char *s, lldb::add
options);
bool success = false;
- if (expr_result == eExecutionCompleted)
+ if (expr_result == eExpressionCompleted)
{
// Get the address to watch.
addr = valobj_sp->GetValueAsUnsigned(fail_value, &success);
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 576700af3d0..0fca4f2e783 100644
--- a/lldb/source/Interpreter/CommandInterpreter.cpp
+++ b/lldb/source/Interpreter/CommandInterpreter.cpp
@@ -1461,7 +1461,7 @@ CommandInterpreter::PreprocessCommand (std::string &command)
expr_result_valobj_sp,
options);
- if (expr_result == eExecutionCompleted)
+ if (expr_result == eExpressionCompleted)
{
Scalar scalar;
if (expr_result_valobj_sp->ResolveValue (scalar))
@@ -1496,29 +1496,29 @@ CommandInterpreter::PreprocessCommand (std::string &command)
switch (expr_result)
{
- case eExecutionSetupError:
+ case eExpressionSetupError:
error.SetErrorStringWithFormat("expression setup error for the expression '%s'", expr_str.c_str());
break;
- case eExecutionParseError:
+ case eExpressionParseError:
error.SetErrorStringWithFormat ("expression parse error for the expression '%s'", expr_str.c_str());
break;
- case eExecutionResultUnavailable:
+ case eExpressionResultUnavailable:
error.SetErrorStringWithFormat ("expression error fetching result for the expression '%s'", expr_str.c_str());
- case eExecutionCompleted:
+ case eExpressionCompleted:
break;
- case eExecutionDiscarded:
+ case eExpressionDiscarded:
error.SetErrorStringWithFormat("expression discarded for the expression '%s'", expr_str.c_str());
break;
- case eExecutionInterrupted:
+ case eExpressionInterrupted:
error.SetErrorStringWithFormat("expression interrupted for the expression '%s'", expr_str.c_str());
break;
- case eExecutionHitBreakpoint:
+ case eExpressionHitBreakpoint:
error.SetErrorStringWithFormat("expression hit breakpoint for the expression '%s'", expr_str.c_str());
break;
- case eExecutionTimedOut:
+ case eExpressionTimedOut:
error.SetErrorStringWithFormat("expression timed out for the expression '%s'", expr_str.c_str());
break;
- case eExecutionStoppedForDebug:
+ case eExpressionStoppedForDebug:
error.SetErrorStringWithFormat("expression stop at entry point for debugging for the expression '%s'", expr_str.c_str());
break;
}
OpenPOWER on IntegriCloud