This is an archive of the discontinued LLVM Phabricator instance.

[Sema] Fix a crash on invalid where invalid defaulted function is called
ClosedPublic

Authored by erik.pilkington on Jun 2 2016, 10:03 AM.

Details

Summary

Previously, clang would crash on the test case below, because it misinterprets the operator=(bool) call as a move assignment operator.

Diff Detail

Repository
rL LLVM

Event Timeline

erik.pilkington retitled this revision from to [Sema] Fix a crash on invalid where invalid defaulted function is called.
erik.pilkington updated this object.
erik.pilkington added a reviewer: rsmith.
erik.pilkington added a subscriber: cfe-commits.
manmanren accepted this revision.Jun 20 2016, 11:14 AM
manmanren edited edge metadata.

LGTM.

Manman

This revision is now accepted and ready to land.Jun 20 2016, 11:14 AM
This revision was automatically updated to reflect the committed changes.