diff options
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
-rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index 59b54e1a960..60f3e754a26 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -125,11 +125,12 @@ ClangUserExpression::Parse (Stream &error_stream, ExecutionContext &exe_ctx) // ApplyObjcCastHack(m_expr_text); - ApplyUnicharHack(m_expr_text); + //ApplyUnicharHack(m_expr_text); if (m_cplusplus) { - m_transformed_stream.Printf("void \n" + m_transformed_stream.Printf("typedef unsigned short unichar; \n" + "void \n" "$__lldb_class::%s(void *$__lldb_arg) \n" "{ \n" " %s; \n" @@ -141,7 +142,8 @@ ClangUserExpression::Parse (Stream &error_stream, ExecutionContext &exe_ctx) } else { - m_transformed_stream.Printf("void \n" + m_transformed_stream.Printf("typedef unsigned short unichar;\n" + "void \n" "%s(void *$__lldb_arg) \n" "{ \n" " %s; \n" |