[libcxx-commits] [PATCH] D144775: [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite

Igor Zhukov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 25 21:28:47 PST 2023


fsb4000 added inline comments.


================
Comment at: libcxx/utils/libcxx/test/params.py:54
   '-Wno-unused-local-typedef',
+  '-Wdeprecated-copy-with-user-provided-dtor',
 ]
----------------
CaseyCarter wrote:
> I suggest using both `-Wdeprecated-copy` and `-Wdeprecated-copy-dtor` here (I'm not sure if GCC supports the longer `-Wdeprecated-copy-with-user-provided-dtor`, but the manual does include `-Wdeprecated-copy-dtor`.)
Yes, GCC doesn't support `-Wdeprecated-copy-with-user-provided-dtor`

I changed the warning flag.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144775/new/

https://reviews.llvm.org/D144775



More information about the libcxx-commits mailing list