[PATCH] D124448: [clang-tidy] Add project-level analysis support to misc-discarded-return-value

Benedek Attila Bahrami via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 04:51:35 PDT 2022


bahramib created this revision.
bahramib added reviewers: aaron.ballman, njames93, whisperity, martong.
bahramib added a project: clang-tools-extra.
Herald added subscribers: carlosgalvezp, rnkovacs, xazax.hun, mgorny.
Herald added a project: All.
bahramib requested review of this revision.

This enables calculating the consumed/discarded distribution of function
calls for the entire project, resulting in more meaningful diagnostics.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124448

Files:
  clang-tools-extra/clang-tidy/misc/CMakeLists.txt
  clang-tools-extra/clang-tidy/misc/DiscardedReturnValueCheck.cpp
  clang-tools-extra/clang-tidy/misc/DiscardedReturnValueCheck.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124448.425184.patch
Type: text/x-patch
Size: 11512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220426/ae39da7c/attachment.bin>


More information about the cfe-commits mailing list