summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangFunction.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-12-07 19:04:31 +0000
committerJim Ingham <jingham@apple.com>2012-12-07 19:04:31 +0000
commit95afbf517afc7d8bee70cfde65cfc4fa0093956d (patch)
tree2e97ec9aac0aeab3e30e9372d4b7c7410965ae44 /lldb/source/Expression/ClangFunction.cpp
parent481e50efe092e7dc4527a54a802121404bb7a58c (diff)
downloadbcm5719-llvm-95afbf517afc7d8bee70cfde65cfc4fa0093956d.tar.gz
bcm5719-llvm-95afbf517afc7d8bee70cfde65cfc4fa0093956d.zip
Now that we set ThreadPlanCallFunction to private in the constructor, it is confusing that we set it
again in client code after creating the plans. So remove those unnecessary calls. llvm-svn: 169625
Diffstat (limited to 'lldb/source/Expression/ClangFunction.cpp')
-rw-r--r--lldb/source/Expression/ClangFunction.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp
index 988bad528b9..bab93f028a0 100644
--- a/lldb/source/Expression/ClangFunction.cpp
+++ b/lldb/source/Expression/ClangFunction.cpp
@@ -517,9 +517,7 @@ ClangFunction::ExecuteFunction (
this_arg));
if (!call_plan_sp)
return eExecutionSetupError;
-
- call_plan_sp->SetPrivate(true);
-
+
// <rdar://problem/12027563> 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
if (exe_ctx.GetProcessPtr())
OpenPOWER on IntegriCloud