[PATCH] D36016: [clang-tidy] Support initializer-list constructor cases in modernize-make-unique.
Malcolm Parsons via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 3 08:01:49 PDT 2017
malcolm.parsons added inline comments.
================
Comment at: test/clang-tidy/modernize-make-unique.cpp:291
+
+ // Initialization with ordinary constructor.
+ std::unique_ptr<G> PG3 = std::unique_ptr<G>(new G{1, 2});
----------------
The comment doesn't match the test?
https://reviews.llvm.org/D36016
More information about the cfe-commits
mailing list