This is an archive of the discontinued LLVM Phabricator instance.

Use better mocks in modernize-make-unique, and fix matcher.
ClosedPublic

Authored by angelgarcia on Oct 5 2015, 5:12 AM.

Details

Summary

Add the second template argument to the unique_ptr mock, and update the matcher so that it only matches against cases where the second argument is the default.

Diff Detail

Event Timeline

angelgarcia updated this revision to Diff 36503.Oct 5 2015, 5:12 AM
angelgarcia retitled this revision from to Use better mocks in modernize-make-unique, and fix matcher..
angelgarcia updated this object.
angelgarcia added a reviewer: klimek.
angelgarcia added subscribers: cfe-commits, alexfh.
klimek accepted this revision.Oct 5 2015, 5:21 AM
klimek edited edge metadata.

lg

This revision is now accepted and ready to land.Oct 5 2015, 5:21 AM
angelgarcia closed this revision.Oct 5 2015, 5:22 AM