HomePhabricator

Fix handling of objects under construction during constant expression

Description

Fix handling of objects under construction during constant expression
evaluation.

It's not enough to just track the LValueBase that we're evaluating, we
need to also track the path to the objects whose constructors are
running.

Details

Committed
rsmithMay 10 2019, 1:05 PM
Parents
rL360463: Improve interface of APValuePathEntry.
Branches
Unknown
Tags
Unknown
Reverted By
rL360531: Revert rL360499 and rL360464 from cfe/trunk:

Event Timeline

Sorry @rsmith due to dependencies, I had to revert rL360499 and rL360464 together in the end

Sorry @rsmith due to dependencies, I had to revert rL360499 and rL360464 together in the end

Thanks, it's failing due to a bug in MSVC; should be worked around in r360537 but we'll see what the bots say.