[PATCH] D126186: [clang-tidy] Extend cert-oop57-cpp to check non-zero memset values

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 23 07:30:39 PDT 2022


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:201
 
+- Made :doc:`cert-oop57-cpp <clang-tidy/checks/cert-oop57-cpp>` more sensitive
+  by checking for non-zero integer literal  memset arguments as well.
----------------
Please sort entries in section alphabetically.


================
Comment at: clang-tools-extra/docs/ReleaseNotes.rst:202
+- Made :doc:`cert-oop57-cpp <clang-tidy/checks/cert-oop57-cpp>` more sensitive
+  by checking for non-zero integer literal  memset arguments as well.
+
----------------
Please fix double space and enclose `memset` into double back-ticks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126186/new/

https://reviews.llvm.org/D126186



More information about the cfe-commits mailing list