[clang] Perform implicit lvalue-to-rvalue cast with new interpreter
The EvaluateAsRValue() documentation mentions that an implicit lvalue-to-rvalue cast is being performed if the result is an lvalue. However, that was not being done if the new constant interpreter was in use. Just always do it. Differential Revision: https://reviews.llvm.org/D132136
Loading
Please sign in to comment