[PATCH] D18264: [clang-tidy] misc-assign-operator-signature checker checks return value of all assign operators

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 11:36:15 PDT 2016


etienneb added a subscriber: etienneb.

================
Comment at: clang-tidy/misc/AssignOperatorSignatureCheck.cpp:39
@@ -37,1 +38,3 @@
+  const auto IsSelfAssign =
+    cxxMethodDecl(IsAssign,
                     hasParameter(0, parmVarDecl(hasType(IsSelf))))
----------------
nit: could you +2 the line to be consistent with the rest of the code


http://reviews.llvm.org/D18264





More information about the cfe-commits mailing list