diff options
author | Greg Clayton <gclayton@apple.com> | 2013-07-03 00:07:54 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-07-03 00:07:54 +0000 |
commit | ddf976aa8bdd347c9f45c1981cf63c42d07368d2 (patch) | |
tree | f3b1824fd449e7b7aa68a7622e31907846bdcf94 /lldb/source/Expression/ExpressionSourceCode.cpp | |
parent | 10413a46a0d8abe7d6a14e99ce582dac0ad069e8 (diff) | |
download | bcm5719-llvm-ddf976aa8bdd347c9f45c1981cf63c42d07368d2.tar.gz bcm5719-llvm-ddf976aa8bdd347c9f45c1981cf63c42d07368d2.zip |
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
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
-rw-r--r-- | lldb/source/Expression/ExpressionSourceCode.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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()); |