[PATCH] D14145: modernize-use-default supports copy constructor and copy-assignment operator.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 28 04:19:36 PDT 2015


angelgarcia created this revision.
angelgarcia added a reviewer: klimek.
angelgarcia added subscribers: alexfh, cfe-commits.

the check will now warn when the user provided definitions of this functions is equivalent to the explicitly defaulted ones.

http://reviews.llvm.org/D14145

Files:
  clang-tidy/modernize/UseDefaultCheck.cpp
  test/clang-tidy/modernize-use-default-copy.cpp
  test/clang-tidy/modernize-use-default.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14145.38647.patch
Type: text/x-patch
Size: 27934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151028/e77e808c/attachment-0001.bin>


More information about the cfe-commits mailing list