[PATCH] D131381: [ADT] Update Optional Deprecation with fix-it

Nathan James via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 00:11:50 PDT 2022


njames93 created this revision.
njames93 added reviewers: kazu, dblaikie.
Herald added a project: All.
njames93 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131381

Files:
  llvm/include/llvm/ADT/Optional.h
  llvm/include/llvm/Support/Compiler.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131381.450715.patch
Type: text/x-patch
Size: 5061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/d30aac58/attachment.bin>


More information about the llvm-commits mailing list