diff options
| author | Pavel Labath <labath@google.com> | 2016-04-28 08:16:19 +0000 |
|---|---|---|
| committer | Pavel Labath <labath@google.com> | 2016-04-28 08:16:19 +0000 |
| commit | 35e9ea38127b99a261f946a415d3641538b8baa3 (patch) | |
| tree | d0283839aa6960b1402f557f34674397d33d09f5 /lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp | |
| parent | 8d598299472f36a2770d13f3c6e4764742b41aea (diff) | |
| download | bcm5719-llvm-35e9ea38127b99a261f946a415d3641538b8baa3.tar.gz bcm5719-llvm-35e9ea38127b99a261f946a415d3641538b8baa3.zip | |
Revert "Fixed a bug where const this would cause parser errors about $__lldb_expr."
This reverts commit r267833 as it breaks the build. It looks like some work in progress got
committed together with the actual fix, but I'm not sure which one is which, so I'll revert the
whole patch and let author resumbit it after fixing the build error.
llvm-svn: 267861
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp')
| -rw-r--r-- | lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp index 53b6fe1b4c7..50669bd4e3c 100644 --- a/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp +++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp @@ -417,7 +417,7 @@ ClangUserExpression::Parse(DiagnosticManager &diagnostic_manager, ExecutionConte else lang_type = lldb::eLanguageTypeC; - if (!source_code->GetText(m_transformed_text, lang_type, m_in_static_method, exe_ctx)) + if (!source_code->GetText(m_transformed_text, lang_type, m_const_object, m_in_static_method, exe_ctx)) { diagnostic_manager.PutCString(eDiagnosticSeverityError, "couldn't construct expression body"); return false; |

