[all-commits] [llvm/llvm-project] abf3ca: [Diagnostics] Restore -Wdeprecated warning when us...
Dávid Bolvanský via All-commits
all-commits at lists.llvm.org
Thu Apr 22 11:36:11 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abf3ca61e3235681f26d0f527b8e2763dd4c0c62
https://github.com/llvm/llvm-project/commit/abf3ca61e3235681f26d0f527b8e2763dd4c0c62
Author: Dávid Bolvanský <david.bolvansky at gmail.com>
Date: 2021-04-22 (Thu, 22 Apr 2021)
Changed paths:
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDeclCXX.cpp
A clang/test/SemaCXX/deprecated-copy-with-dtor.cpp
A clang/test/SemaCXX/deprecated-copy-with-user-provided-copy.cpp
A clang/test/SemaCXX/deprecated-copy-with-user-provided-dtor.cpp
M clang/test/SemaCXX/deprecated-copy.cpp
M clang/test/SemaCXX/deprecated.cpp
Log Message:
-----------
[Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment operator is defined as deleted (PR45634)
Solves https://bugs.llvm.org/show_bug.cgi?id=45634
Be more agressive than GCC with -Wdeprecated-copy. Also provide -W(no-)deprecated-copy-user-provided-copy/dtor options to on/off this behaviour.
Reviewed By: Quuxplusone
Differential Revision: https://reviews.llvm.org/D79714
More information about the All-commits
mailing list