From ddf976aa8bdd347c9f45c1981cf63c42d07368d2 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 3 Jul 2013 00:07:54 +0000 Subject: Import the builtin type prefix before we import the user expression prefix so that the user expression prefix can use the uint, int, size_t, and other types without having to define them. llvm-svn: 185488 --- lldb/source/Expression/ExpressionSourceCode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lldb/source/Expression') diff --git a/lldb/source/Expression/ExpressionSourceCode.cpp b/lldb/source/Expression/ExpressionSourceCode.cpp index 0c6683189ea..aef3b9e301e 100644 --- a/lldb/source/Expression/ExpressionSourceCode.cpp +++ b/lldb/source/Expression/ExpressionSourceCode.cpp @@ -70,8 +70,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi "{ \n" " %s; \n" "} \n", - m_prefix.c_str(), g_expression_prefix, + m_prefix.c_str(), m_name.c_str(), m_body.c_str()); break; @@ -83,8 +83,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi "{ \n" " %s; \n" "} \n", - m_prefix.c_str(), g_expression_prefix, + m_prefix.c_str(), m_name.c_str(), (const_object ? "const" : ""), m_body.c_str()); @@ -103,8 +103,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi " %s; \n" "} \n" "@end \n", - m_prefix.c_str(), g_expression_prefix, + m_prefix.c_str(), m_name.c_str(), m_name.c_str(), m_body.c_str()); @@ -122,8 +122,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi " %s; \n" "} \n" "@end \n", - m_prefix.c_str(), g_expression_prefix, + m_prefix.c_str(), m_name.c_str(), m_name.c_str(), m_body.c_str()); -- cgit v1.2.3