[PATCH] D55044: [clang-tidy] check for Abseil make_unique
Andy Zhang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 19:57:28 PDT 2019
axzhang updated this revision to Diff 190559.
axzhang added a comment.
Apologies for the extended hiatus. I have changed the implementation to an alias to modernize-make-unique, and have added an extra option to modernize-make-unique that ignores C++11 features such as list initializations, to allow `absl::make_unique` to function correctly. Also, after looking more into `absl::WrapUnique`, it seems like this also is not really the function to use for brace initializations, so no extra functionality needs to be added to the existing modernize-make-unique check.
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10052 bytes
Desc: not available
More information about the cfe-commits