[PATCH] D96082: [clang-tidy] Add 'readability-useless-return-value' check
Lukas Hänel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 16:32:38 PST 2021
LukasHanel updated this revision to Diff 324132.
LukasHanel added a comment.
Handle the case of a global variable being the "return value"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96082/new/
https://reviews.llvm.org/D96082
Files:
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
clang-tools-extra/clang-tidy/readability/UselessReturnValueCheck.cpp
clang-tools-extra/clang-tidy/readability/UselessReturnValueCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/docs/clang-tidy/checks/readability-useless-return-value.rst
clang-tools-extra/test/clang-tidy/checkers/readability-useless-return-value.c
clang-tools-extra/test/clang-tidy/checkers/readability-useless-return-value.cpp
clang-tools-extra/test/clang-tidy/checkers/readability-useless-return-value.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96082.324132.patch
Type: text/x-patch
Size: 18386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210217/dc8696b4/attachment-0001.bin>
More information about the cfe-commits
mailing list