alexfh added a subscriber: alexfh.
alexfh requested changes to this revision.
alexfh added a reviewer: alexfh.
This revision now requires changes to proceed.

================
Comment at: clang-tidy/modernize/PassByValueCheck.cpp:166
@@ -150,3 +165,3 @@
                         hasDeclaration(cxxConstructorDecl(
-                            isCopyConstructor(), unless(isDeleted()),
+                            isNotCopyConstructor(),
                             hasDeclContext(
----------------
You should use `unless(isCopyConstructor)` instead of creating a separate 
matcher.


http://reviews.llvm.org/D19194



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to