diff options
author | Kazu Hirata <kazu@google.com> | 2022-12-02 23:12:36 -0800 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-12-02 23:12:36 -0800 |
commit | c68af42fa842c1aab72ff95642ec941499f992a9 (patch) | |
tree | d8a7dc617891df3b772ac73e2a9d4a32c8f346cd /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 34b8daf4a817e69d996ca163c3a22bab46f58fa8 (diff) | |
download | llvm-c68af42fa842c1aab72ff95642ec941499f992a9.zip llvm-c68af42fa842c1aab72ff95642ec941499f992a9.tar.gz llvm-c68af42fa842c1aab72ff95642ec941499f992a9.tar.bz2 |
[lld] Use std::nullopt instead of None (NFC)
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated. The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.
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
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions