[PATCH] D112409: [clang-tidy] Add check 'cert-err33-c'.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 25 00:14:34 PDT 2021


balazske created this revision.
Herald added subscribers: carlosgalvezp, steakhal, martong, gamesh411, Szelethus, dkrupp, xazax.hun, whisperity.
balazske requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

The CERT rule ERR33-C can be modeled partially by the existing check
'bugprone-unused-return-value'. The existing check is reused with
a fixed set of checked functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112409

Files:
  clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
  clang-tools-extra/docs/clang-tidy/checks/bugprone-unused-return-value.rst
  clang-tools-extra/docs/clang-tidy/checks/cert-err33-c.rst
  clang-tools-extra/docs/clang-tidy/checks/list.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112409.381861.patch
Type: text/x-patch
Size: 15642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211025/af440570/attachment.bin>


More information about the cfe-commits mailing list