diff options
author | Kazu Hirata <kazu@google.com> | 2022-11-23 16:33:10 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-11-23 16:33:10 -0800 |
commit | bd6a17069da66938217d0606ae8e6571ccaefb0b (patch) | |
tree | 89eddd29d5c43f95ed87c2dd22de7efe7c5fb562 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 974b4bf9fdf89448f8369a9b69f19e27d8a7949d (diff) | |
download | llvm-bd6a17069da66938217d0606ae8e6571ccaefb0b.zip llvm-bd6a17069da66938217d0606ae8e6571ccaefb0b.tar.gz llvm-bd6a17069da66938217d0606ae8e6571ccaefb0b.tar.bz2 |
[ADT] Deprecate llvm::NoneType
I've migrated all known uses of NoneType to std::nullopt_t. This
patch deprecates NoneType.
I'm using "typedef" instead of "using" because somehow
"[[deprecated]]" and "using" do not seem to get along.
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/D138623
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions