Add support for checking class template member functions.
Also add the following functions to be checked by default:
- std::unique_ptr::release
- std::basic_string::empty
- std::vector::empty
Paths
| Differential D45891
[clang-tidy] Improve bugprone-unused-return-value check ClosedPublic Authored by khuttun on Apr 20 2018, 11:02 AM.
Details Summary Add support for checking class template member functions. Also add the following functions to be checked by default:
Diff Detail Event TimelineThis revision is now accepted and ready to land.Apr 23 2018, 12:26 AM Closed by commit rCTE330772: [clang-tidy] Improve bugprone-unused-return-value check (authored by jbcoe). · Explain WhyApr 24 2018, 2:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 143318 clang-tidy/bugprone/UnusedReturnValueCheck.cpp
docs/clang-tidy/checks/bugprone-unused-return-value.rst
test/clang-tidy/bugprone-unused-return-value-custom.cpp
test/clang-tidy/bugprone-unused-return-value.cpp
|