[PATCH] D16376: clang-tidy check: User-defined copy without assignment

Jonathan B Coe via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 22 12:49:37 PST 2016


jbcoe added inline comments.

================
Comment at: clang-tidy/misc/UserDefinedCopyWithoutAssignmentCheck.cpp:52
@@ +51,3 @@
+          hasDescendant(
+              cxxMethodDecl(isMoveAssignmentOperator(), unless(isImplicit()))
+                  .bind("move-assignment")),
----------------
I've moved the C++11 check to just before creating the fixit.


http://reviews.llvm.org/D16376





More information about the cfe-commits mailing list