[PATCH] D16376: clang-tidy check: User-defined copy without assignment
Jonathan B Coe via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 21 11:26:02 PST 2016
jbcoe updated this revision to Diff 45573.
jbcoe added a comment.
Added symmetric check for user-defined assignment but no copy constructor.
Check now adds '=default' to the missing special function if the user-specified one was specified as '=default'.
Check needs renaming, I'll update it along with the docs once the behaviour/impl are good.
http://reviews.llvm.org/D16376
Files:
clang-tidy/misc/CMakeLists.txt
clang-tidy/misc/MiscTidyModule.cpp
clang-tidy/misc/UserDefinedCopyWithoutAssignmentCheck.cpp
clang-tidy/misc/UserDefinedCopyWithoutAssignmentCheck.h
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/misc-user-defined-copy-without-assignment.rst
test/clang-tidy/misc-user-defined-copy-without-assignment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16376.45573.patch
Type: text/x-patch
Size: 11061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160121/3386a0d2/attachment.bin>
More information about the cfe-commits
mailing list