[PATCH] D139763: [ADT] Deperecate llvm::None
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 10 15:50:16 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG90559ed6e650: [ADT] Deperecate llvm::None (authored by kazu).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139763/new/
https://reviews.llvm.org/D139763
Files:
llvm/include/llvm/ADT/None.h
Index: llvm/include/llvm/ADT/None.h
===================================================================
--- llvm/include/llvm/ADT/None.h
+++ llvm/include/llvm/ADT/None.h
@@ -24,6 +24,7 @@
/// and similar types without having to spell out the specialization's name.
LLVM_DEPRECATED("Use std::nullopt_t instead", "std::nullopt_t")
typedef std::nullopt_t NoneType;
+LLVM_DEPRECATED("Use std::nullopt instead.", "std::nullopt")
inline constexpr std::nullopt_t None = std::nullopt;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139763.481885.patch
Type: text/x-patch
Size: 486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221210/9ceb68c8/attachment.bin>
More information about the llvm-commits
mailing list