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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D13433
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 Timelineangelgarcia retitled this revision from to Use better mocks in modernize-make-unique, and fix matcher.. angelgarcia updated this object. This revision is now accepted and ready to land.Oct 5 2015, 5:21 AM
Revision Contents
Diff 36503 clang-tidy/modernize/MakeUniqueCheck.cpp
test/clang-tidy/modernize-make-unique.cpp
|