================ Comment at: test/clang-tidy/uniqueptr-reset-release.cpp:36 @@ +35,3 @@ + a.reset(Create().release()); + // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: prefer ptr1 = std::move(ptr2) over ptr1.reset(ptr2.release()) + // CHECK-FIXES: a = Create(); ---------------- The message for this case shouldn't mention std::move. Can you fix this?
http://reviews.llvm.org/D6485 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/ _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
