[PATCH] cpp11-migrate: Add a transform that use pass-by-value in constructors

Edwin Vane edwin.vane at intel.com
Wed Aug 28 06:23:49 PDT 2013



================
Comment at: docs/PassByValueTransform.rst:136
@@ +135,3 @@
+When delayed template parsing is enabled, constructors part of templated
+contexts aren't transformed. Delayed template parsing is enabled by default on
+Windows as a Microsoft extension: `Clang Compiler User’s Manual - Microsoft
----------------
I'm concerned 'templated contexts' needs more explanation. Based on our offline discussion I'd recommend something like:

> ... constructors in templated contexts; templated constructors, constructors in class templates, constructors of inner classes of template classes, etc., are not transformed.

Don't have to be too careful about getting all cases.


http://llvm-reviews.chandlerc.com/D1342



More information about the cfe-commits mailing list