diff options
author | Kazu Hirata <kazu@google.com> | 2023-04-25 23:53:32 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-04-25 23:53:32 -0700 |
commit | 1ca0cb717a0950f8397660d142f14a9b28deaebe (patch) | |
tree | 15c78276ae04116207320dbc74b510970c5bd493 /llvm/lib/CodeGen/ImplicitNullChecks.cpp | |
parent | e55fca6b055532d36c51fee37e658e9e1fd9e46e (diff) | |
download | llvm-1ca0cb717a0950f8397660d142f14a9b28deaebe.zip llvm-1ca0cb717a0950f8397660d142f14a9b28deaebe.tar.gz llvm-1ca0cb717a0950f8397660d142f14a9b28deaebe.tar.bz2 |
[llvm] Replace None with std::nullopt in comments (NFC)
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 'llvm/lib/CodeGen/ImplicitNullChecks.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ImplicitNullChecks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ImplicitNullChecks.cpp b/llvm/lib/CodeGen/ImplicitNullChecks.cpp index fa493af..ae002e0 100644 --- a/llvm/lib/CodeGen/ImplicitNullChecks.cpp +++ b/llvm/lib/CodeGen/ImplicitNullChecks.cpp @@ -94,7 +94,7 @@ class ImplicitNullChecks : public MachineFunctionPass { /// computeDependence). bool CanReorder; - /// If non-None, then an instruction in \p Insts that also must be + /// If non-std::nullopt, then an instruction in \p Insts that also must be /// hoisted. std::optional<ArrayRef<MachineInstr *>::iterator> PotentialDependence; |