Eugene.Zelenko added a comment.

Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).


================
Comment at: docs/clang-tidy/checks/misc-suspicious-memset-usage.rst:6
+
+This check finds memset calls with potential mistakes in their arguments.
+Considering the function as ``void* memset(void* destination, int fill_value,
----------------
Please enclose memset on `` and add ().


================
Comment at: docs/clang-tidy/checks/misc-suspicious-memset-usage.rst:25
+
+If the class containing the memset call has a virtual function, using
+memset on the ``this`` pointer might corrupt the virtual method table.
----------------
Please enclose memset on `` and add ().


https://reviews.llvm.org/D32700



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

Reply via email to