diff options
author | Jim Ingham <jingham@apple.com> | 2019-03-06 22:43:25 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-03-06 22:43:25 +0000 |
commit | ea401ec7f402c56cb403c00ae0a7b79b285a0fb8 (patch) | |
tree | 7471044e8c9dbd6559c58e3f554f7e0a71599927 /lldb/source/Expression/UtilityFunction.cpp | |
parent | 2157f57d2dd9345f1854b2809931ae4d81578b3e (diff) | |
download | bcm5719-llvm-ea401ec7f402c56cb403c00ae0a7b79b285a0fb8.tar.gz bcm5719-llvm-ea401ec7f402c56cb403c00ae0a7b79b285a0fb8.zip |
Factor the clang specific parts of ExpressionSourceCode.{h,cpp} into the clang plugin.
NFC
Differential Revision: https://reviews.llvm.org/D59040
llvm-svn: 355560
Diffstat (limited to 'lldb/source/Expression/UtilityFunction.cpp')
-rw-r--r-- | lldb/source/Expression/UtilityFunction.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/source/Expression/UtilityFunction.cpp b/lldb/source/Expression/UtilityFunction.cpp index 30c33d2baa4..8cf9de966c4 100644 --- a/lldb/source/Expression/UtilityFunction.cpp +++ b/lldb/source/Expression/UtilityFunction.cpp @@ -15,7 +15,6 @@ #include "lldb/Core/Module.h" #include "lldb/Core/StreamFile.h" #include "lldb/Expression/DiagnosticManager.h" -#include "lldb/Expression/ExpressionSourceCode.h" #include "lldb/Expression/FunctionCaller.h" #include "lldb/Expression/IRExecutionUnit.h" #include "lldb/Expression/UtilityFunction.h" @@ -42,11 +41,8 @@ using namespace lldb; UtilityFunction::UtilityFunction(ExecutionContextScope &exe_scope, const char *text, const char *name) : Expression(exe_scope), m_execution_unit_sp(), m_jit_module_wp(), - m_function_text(ExpressionSourceCode::g_expression_prefix), - m_function_name(name) { - if (text && text[0]) - m_function_text.append(text); -} + m_function_text(), + m_function_name(name) {} UtilityFunction::~UtilityFunction() { lldb::ProcessSP process_sp(m_jit_process_wp.lock()); |