Committed as r189363.
================
Comment at: test/cpp11-migrate/PassByValue/basic.cpp:148
@@ +147,3 @@
+template <typename T> struct P {
+ P(const Movable M) : M(M) {}
+ // CHECK: P(Movable M) : M(std::move(M)) {}
----------------
Edwin Vane wrote:
> This is really weird but good that you handle it.
Note that I removed the useless `template <typename T>` in this test and the
one before.
http://llvm-reviews.chandlerc.com/D1342
BRANCH
pass-by-value
ARCANIST PROJECT
clang-tools-extra
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits