diff options
author | Kazu Hirata <kazu@google.com> | 2022-11-23 16:50:34 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-11-23 16:50:34 -0800 |
commit | 80145dcb011b03a7c54fdfaa3a7beeaf5c18863a (patch) | |
tree | 4ab571ff19d899af468c71cf2335a5d1f8e70923 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | bd6a17069da66938217d0606ae8e6571ccaefb0b (diff) | |
download | llvm-80145dcb011b03a7c54fdfaa3a7beeaf5c18863a.zip llvm-80145dcb011b03a7c54fdfaa3a7beeaf5c18863a.tar.gz llvm-80145dcb011b03a7c54fdfaa3a7beeaf5c18863a.tar.bz2 |
[ADT] Deprecate Optional::getPointer
This patch deprecates Optional::getPointer. Note that I've converted
all known occurrences of X.getPointer() to &*X on Nov 21, 2022 in
commit 1f914944b6c9a5e4229ceb9f06140fdf178c5ea0.
This is part of an effort to migrate from llvm::Optional to
std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
Differential Revision: https://reviews.llvm.org/D138621
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions