Move an existing deprecated warning into a new group -Wdeprecated copy. Also skip functions that are explicitly marked delete or default, which follows the behavior of the GCC warning.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
Paths
| Differential D52860
Create new warning group -Wdeprecated-copy Needs ReviewPublic Authored by rtrieu on Oct 3 2018, 7:06 PM. This revision needs review, but there are no reviewers specified.
Details
Summary Move an existing deprecated warning into a new group -Wdeprecated copy. Also skip functions that are explicitly marked delete or default, which follows the behavior of the GCC warning.
Diff Detail
Revision Contents
Diff 168220 include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/deprecated.cpp
|