This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Don't try to set -Wno-deprecated-declarations
AcceptedPublic

Authored by teemperor on Jun 16 2021, 6:30 AM.

Details

Summary

By suppressing all deprecation warnings we are not getting any heads up if external libraries
(e.g. Python) are deprecating parts of their API and we only find out when they actually
remove these functions.

This was originally done to suppress LLDB's use of auto_ptr which we stopped using some
time ago.

Diff Detail

Event Timeline

teemperor created this revision.Jun 16 2021, 6:30 AM
teemperor requested review of this revision.Jun 16 2021, 6:30 AM

There is some cleanup that needs to be done before this can land. https://reviews.llvm.org/D104374 fixes some deprecation warnings from Python and there are some macOS APIs that got deprecated (which I still need to fix)

kastiglione accepted this revision.Jun 21 2021, 2:02 PM

thanks!

This revision is now accepted and ready to land.Jun 21 2021, 2:02 PM