Skip to content
Commit 7089250f authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

After inlining the CXXConstructExpr, bind the temporary object region to it.

This change is necessary when the variable is a const reference and we need
the l-value of the construct expr.  After that, when binding the variable,
recover the lazy compound value when the variable is not a reference.

In Environment, use the value of a no-op cast expression when it has one.
Otherwise, blast-through it.

llvm-svn: 122388
parent f3e5b4eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment