[PATCH] D18961: Add a readability-deleted-default clang-tidy check.

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 09:23:16 PDT 2016


I'd consider just making this a compiler warning, perhaps?

On Mon, Apr 11, 2016 at 5:52 AM, Alex Pilkiewicz via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> pilki created this revision.
> pilki added a reviewer: alexfh.
> pilki added a subscriber: cfe-commits.
>
> Checks if constructors and assignment operators that are marked '=
> default' are actually deleted by the compiler.
>
> http://reviews.llvm.org/D18961
>
> Files:
>    clang-tidy/readability/CMakeLists.txt
>    clang-tidy/readability/DeletedDefaultCheck.cpp
>    clang-tidy/readability/DeletedDefaultCheck.h
>    clang-tidy/readability/ReadabilityTidyModule.cpp
>    docs/clang-tidy/checks/list.rst
>    docs/clang-tidy/checks/readability-deleted-default.rst
>    test/clang-tidy/readability-deleted-default.cpp
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160411/7d6914c2/attachment.html>


More information about the cfe-commits mailing list