summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangFunction.cpp
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/Expression/ClangFunction.cpp
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/Expression/ClangFunction.cpp')
-rw-r--r--lldb/source/Expression/ClangFunction.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp
index 3b0a45a96a9..27afba2898a 100644
--- a/lldb/source/Expression/ClangFunction.cpp
+++ b/lldb/source/Expression/ClangFunction.cpp
@@ -334,7 +334,7 @@ ClangFunction::WriteFunctionArguments (ExecutionContext &exe_ctx,
Error error;
using namespace clang;
- lldb::ExpressionResults return_value = lldb::eExecutionSetupError;
+ lldb::ExpressionResults return_value = lldb::eExpressionSetupError;
Process *process = exe_ctx.GetProcessPtr();
@@ -511,7 +511,7 @@ ClangFunction::ExecuteFunction(
Value &results)
{
using namespace clang;
- lldb::ExpressionResults return_value = lldb::eExecutionSetupError;
+ lldb::ExpressionResults return_value = lldb::eExpressionSetupError;
// ClangFunction::ExecuteFunction execution is always just to get the result. Do make sure we ignore
// breakpoints, unwind on error, and don't try to debug it.
@@ -528,12 +528,12 @@ ClangFunction::ExecuteFunction(
args_addr = LLDB_INVALID_ADDRESS;
if (CompileFunction(errors) != 0)
- return lldb::eExecutionSetupError;
+ return lldb::eExpressionSetupError;
if (args_addr == LLDB_INVALID_ADDRESS)
{
if (!InsertFunction(exe_ctx, args_addr, errors))
- return lldb::eExecutionSetupError;
+ return lldb::eExpressionSetupError;
}
Log *log(lldb_private::GetLogIfAnyCategoriesSet (LIBLLDB_LOG_EXPRESSIONS | LIBLLDB_LOG_STEP));
@@ -546,7 +546,7 @@ ClangFunction::ExecuteFunction(
real_options,
errors));
if (!call_plan_sp)
- return lldb::eExecutionSetupError;
+ return lldb::eExpressionSetupError;
// We need to make sure we record the fact that we are running an expression here
// otherwise this fact will fail to be recorded when fetching an Objective-C object description
@@ -560,7 +560,7 @@ ClangFunction::ExecuteFunction(
if (log)
{
- if (return_value != lldb::eExecutionCompleted)
+ if (return_value != lldb::eExpressionCompleted)
{
log->Printf("== [ClangFunction::ExecuteFunction] Execution of \"%s\" completed abnormally ==", m_name.c_str());
}
@@ -576,7 +576,7 @@ ClangFunction::ExecuteFunction(
if (args_addr_ptr != NULL)
*args_addr_ptr = args_addr;
- if (return_value != lldb::eExecutionCompleted)
+ if (return_value != lldb::eExpressionCompleted)
return return_value;
FetchFunctionResults(exe_ctx, args_addr, results);
@@ -584,7 +584,7 @@ ClangFunction::ExecuteFunction(
if (args_addr_ptr == NULL)
DeallocateFunctionResults(exe_ctx, args_addr);
- return lldb::eExecutionCompleted;
+ return lldb::eExpressionCompleted;
}
clang::ASTConsumer *
OpenPOWER on IntegriCloud