[PATCH] D13166: Create modernize-make-unique check.
Angel Garcia via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 25 10:03:19 PDT 2015
angelgarcia created this revision.
angelgarcia added a reviewer: alexfh.
angelgarcia added subscribers: klimek, cfe-commits.
create a check that replaces 'std::unique_ptr<type>(new type(args...))' with 'std::make_unique<type>(args...)'. It was on the list of "Ideas for new Tools". It needs to be tested more carefully, but first I wanted to know if you think it is worth the effort.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10276 bytes
Desc: not available
More information about the cfe-commits