]> granicus.if.org Git - clang/commit
C++11: If a class has a user-declared copy operation or destructor, the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2013 03:23:42 +0000 (03:23 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 13 Jun 2013 03:23:42 +0000 (03:23 +0000)
commit36155c14b691720ee3e94bfe99886229650bbfb5
tree920319130f16adb3945772e2d409a46d0215691b
parentf050d2445ed75569ccfe0740caa900403d2ce3b3
C++11: If a class has a user-declared copy operation or destructor, the
implicit definition of a copy operation is deprecated. Add a warning for this
to -Wdeprecated. This warning is disabled by default for now, pending
investigation into how common this situation is.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183884 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/deprecated.cpp