[libcxx-commits] [PATCH] D144775: [libc++][test] Add `-Wdeprecated-copy-with-user-provided-dtor` warning to the test suite

Casey Carter via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 25 19:43:14 PST 2023


CaseyCarter added a comment.

Guess I'll stop working on this ;)



================
Comment at: libcxx/utils/libcxx/test/params.py:54
   '-Wno-unused-local-typedef',
+  '-Wdeprecated-copy-with-user-provided-dtor',
 ]
----------------
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`.)


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

https://reviews.llvm.org/D144775



More information about the libcxx-commits mailing list