HomePhabricator

Store the calculated constant expression value into the ConstantExpr object

Authored by aaron.ballman on Feb 11 2021, 7:12 AM.

Description

Store the calculated constant expression value into the ConstantExpr object

With https://reviews.llvm.org/D63376, we began storing the APValue
directly into the ConstantExpr object so that we could reuse the
calculated value later. However, it missed a case when not in C++11
mode but the expression is known to be constant.

Details

Committed
aaron.ballmanFeb 11 2021, 7:18 AM
Parents
rGe87b8e4498df: [lldb] Log the actual expression result in UserExpression::Evaluate
Branches
Unknown
Tags
Unknown