[PATCH] D13590: Support every kind of initialization.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 01:37:22 PDT 2015


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg


================
Comment at: clang-tidy/modernize/MakeUniqueCheck.cpp:125-128
@@ +124,6 @@
+      // Direct initialization with initialization list.
+      // \code
+      //   struct S { S(int x) {} };
+      //   std::unique_ptr<S>(new S{5});
+      // \endcode
+      // The arguments in the initialization list are going to be forwarded to
----------------
Nit: this is not a doxygen comment, so \code \endcode doesn't make too much sense; just leave them out. (here and elsewhere)


http://reviews.llvm.org/D13590





More information about the cfe-commits mailing list