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.
Details
Details
- Reviewers
kazu dblaikie - Commits
- rG5512f398a039: [ADT] Update Optional Deprecation with fix-it
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests