[PATCH] D41655: [clang-tidy] New check bugprone-unused-return-value
Kalle Huttunen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 1 04:43:47 PST 2018
khuttun created this revision.
khuttun added reviewers: alexfh, aaron.ballman.
khuttun added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.
Detects function calls where the return value is unused.
Checked functions can be configured.
https://reviews.llvm.org/D41655
Files:
clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tidy/bugprone/CMakeLists.txt
clang-tidy/bugprone/UnusedReturnValueCheck.cpp
clang-tidy/bugprone/UnusedReturnValueCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/bugprone-unused-return-value.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/bugprone-unused-return-value-custom.cpp
test/clang-tidy/bugprone-unused-return-value.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41655.128386.patch
Type: text/x-patch
Size: 16751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180101/48666c88/attachment.bin>
More information about the cfe-commits
mailing list