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
This commit is contained in:
parent
10413a46a0
commit
ddf976aa8b
|
@ -70,8 +70,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi
|
||||||
"{ \n"
|
"{ \n"
|
||||||
" %s; \n"
|
" %s; \n"
|
||||||
"} \n",
|
"} \n",
|
||||||
m_prefix.c_str(),
|
|
||||||
g_expression_prefix,
|
g_expression_prefix,
|
||||||
|
m_prefix.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
m_body.c_str());
|
m_body.c_str());
|
||||||
break;
|
break;
|
||||||
|
@ -83,8 +83,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi
|
||||||
"{ \n"
|
"{ \n"
|
||||||
" %s; \n"
|
" %s; \n"
|
||||||
"} \n",
|
"} \n",
|
||||||
m_prefix.c_str(),
|
|
||||||
g_expression_prefix,
|
g_expression_prefix,
|
||||||
|
m_prefix.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
(const_object ? "const" : ""),
|
(const_object ? "const" : ""),
|
||||||
m_body.c_str());
|
m_body.c_str());
|
||||||
|
@ -103,8 +103,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi
|
||||||
" %s; \n"
|
" %s; \n"
|
||||||
"} \n"
|
"} \n"
|
||||||
"@end \n",
|
"@end \n",
|
||||||
m_prefix.c_str(),
|
|
||||||
g_expression_prefix,
|
g_expression_prefix,
|
||||||
|
m_prefix.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
m_body.c_str());
|
m_body.c_str());
|
||||||
|
@ -122,8 +122,8 @@ bool ExpressionSourceCode::GetText (std::string &text, lldb::LanguageType wrappi
|
||||||
" %s; \n"
|
" %s; \n"
|
||||||
"} \n"
|
"} \n"
|
||||||
"@end \n",
|
"@end \n",
|
||||||
m_prefix.c_str(),
|
|
||||||
g_expression_prefix,
|
g_expression_prefix,
|
||||||
|
m_prefix.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
m_name.c_str(),
|
m_name.c_str(),
|
||||||
m_body.c_str());
|
m_body.c_str());
|
||||||
|
|
Loading…
Reference in New Issue