[PATCH] D111228: [clang-tidy] Add options to bugprone-unused-return-value.

Balázs Kéri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 6 06:24:25 PDT 2021


balazske created this revision.
Herald added subscribers: 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.

Extend the check with option to include or exclude specific functions.
This makes it more easy to add extra functions or remove from the checked function set
without specifying all functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111228

Files:
  clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp
  clang-tools-extra/clang-tidy/bugprone/UnusedReturnValueCheck.h
  clang-tools-extra/test/clang-tidy/checkers/bugprone-unused-return-value-custom.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111228.377525.patch
Type: text/x-patch
Size: 14569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211006/f9d35963/attachment-0001.bin>


More information about the cfe-commits mailing list