rjmccall added inline comments.

================
Comment at: docs/ReleaseNotes.rst:63
+- ``-Wself-assign`` and ``-Wself-assign-field`` were extended to diagnose
+  self-assignment operations using overloaded operators (i.e. classes)
+
----------------
Missing a final period.  Also, these release notes serve as a kind of user 
guide, so I would recommend mentioning the suppression contraption here.  Maybe 
something like "If you are doing such an assignment intentionally, e.g. in a 
unit test for a data structure, the warning can be suppressed by adding *& to 
the right-hand side or casting it to the appropriate reference type."


Repository:
  rC Clang

https://reviews.llvm.org/D44883



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

Reply via email to