[PATCH] D18265: [clang-tidy] New: checker misc-assign-operator-return
Balogh, Ádám via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 18 07:12:15 PDT 2016
baloghadamsoftware created this revision.
baloghadamsoftware added reviewers: alexfh, hokein.
baloghadamsoftware added subscribers: cfe-commits, xazax.hun.
Finds return statements in assign operator bodies where the return value is different from '*this'. Only assignment operators with correct return value Class& are checked.
http://reviews.llvm.org/D18265
Files:
clang-tidy/misc/AssignOperatorReturnCheck.cpp
clang-tidy/misc/AssignOperatorReturnCheck.h
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/MiscTidyModule.cpp
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-assign-operator-return.rst
test/clang-tidy/misc-assign-operator-return.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18265.51020.patch
Type: text/x-patch
Size: 6267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160318/813c8860/attachment-0001.bin>
More information about the cfe-commits
mailing list