diff options
author | Alexander Kornienko <alexfh@google.com> | 2016-04-13 11:33:40 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2016-04-13 11:33:40 +0000 |
commit | 4191b90c7560c500cb67defbb10c9ab3bc0563c7 (patch) | |
tree | 415e0baf71df9038b23f989b28c241d83c3966d9 /clang-tools-extra/docs/ReleaseNotes.rst | |
parent | 7d20a5afdbe77bccea3d854de2b6d86ee8fc8c8c (diff) | |
download | bcm5719-llvm-4191b90c7560c500cb67defbb10c9ab3bc0563c7.tar.gz bcm5719-llvm-4191b90c7560c500cb67defbb10c9ab3bc0563c7.zip |
[clang-tidy] Add a readability-deleted-default clang-tidy check.
Checks if constructors and assignment operators that are marked '= default' are
actually deleted by the compiler.
Patch by Alex Pilkiewicz!
Differential Revision: http://reviews.llvm.org/D18961
llvm-svn: 266190
Diffstat (limited to 'clang-tools-extra/docs/ReleaseNotes.rst')
-rw-r--r-- | clang-tools-extra/docs/ReleaseNotes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 89608489433..b4c79199b81 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -154,6 +154,12 @@ identified. The improvements since the 3.8 release include: Warns about top-level const parameters in function declarations. +- New `readability-deleted-default + <http://clang.llvm.org/extra/clang-tidy/checks/readability-deleted-default.html>`_ check + + Warns about defaulted constructors and assignment operators that are actually + deleted. + - New `readability-redundant-control-flow <http://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-control-flow.html>`_ check |