This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Update Optional Deprecation with fix-it
ClosedPublic

Authored by njames93 on Aug 8 2022, 12:11 AM.

Details

Summary

When Optional accessors were deprecated, in D131349, the standard c++14 style attribute was used.
Clang has a slightly better deprecated attribute that enables simpler migration by embedding fix-its.

Diff Detail

Event Timeline

njames93 created this revision.Aug 8 2022, 12:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 12:11 AM
njames93 requested review of this revision.Aug 8 2022, 12:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 8 2022, 12:11 AM
kazu accepted this revision.Aug 8 2022, 12:15 AM

Thanks a lot!

This revision is now accepted and ready to land.Aug 8 2022, 12:15 AM
This revision was landed with ongoing or failed builds.Aug 8 2022, 2:39 AM
This revision was automatically updated to reflect the committed changes.