[PATCH] D112409: [clang-tidy] Add check 'cert-err33-c'.
Eugene Zelenko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 25 09:26:39 PDT 2021
Eugene.Zelenko added inline comments.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cert-err33-c.rst:7
+Warns on unused function return values.
+This check corresponds to (a part of) CERT C Coding Standard rule `ERR33-C.
+Detect and handle standard library errors
----------------
Usually such statement is located at the end.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/cert-err33-c.rst:13
+
+* These functions are safe if called with NULL argument. The check can not
+ differentiate this case from the others.::
----------------
Please enclose `NULL` into double back-ticks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112409/new/
https://reviews.llvm.org/D112409
More information about the cfe-commits
mailing list