HomePhabricator

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

Authored by balazske on Nov 2 2021, 2:30 AM.

Description

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

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.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D112409

Details