[lldb] Provide a getter for m_materializer_up in LLVMUserExpression instead of relyin...
authorRaphael Isemann <teemperor@gmail.com>
Mon, 4 Nov 2019 08:05:24 +0000 (09:05 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 4 Nov 2019 08:05:24 +0000 (09:05 +0100)
commitae10661a8121558679463a57dd8661c81895f3ff
treeafedd3499a680c883c2eef710177e7a797e1433a
parent80bf88d8bc892548aa59286306b6a1d9072a9f7a
[lldb] Provide a getter for m_materializer_up in LLVMUserExpression instead of relying on it being accessible.

Summary:
Motivated by Swift using the materializer in a few places which requires us to add this getter ourselves.
We also need a setter, but let's keep this minimal to unblock the downstream reverts in Swift.

Reviewers: davide

Reviewed By: davide

Subscribers: abidh, JDevlieghere, lldb-commits

Tags: #upstreaming_lldb_s_downstream_patches, #lldb

Differential Revision: https://reviews.llvm.org/D69714
lldb/include/lldb/Expression/Expression.h
lldb/include/lldb/Expression/LLVMUserExpression.h
lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp