diff options
author | Kazu Hirata <kazu@google.com> | 2023-05-12 18:33:26 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-05-12 18:33:26 -0700 |
commit | 81e149aab9b3676b16728e883e2f21ee938cff93 (patch) | |
tree | ce2ac3a495380f2aa0933835346bddc5e8365473 /polly | |
parent | db39d479289daa6e9c099ffdb5366a3331703139 (diff) | |
download | llvm-81e149aab9b3676b16728e883e2f21ee938cff93.tar.gz |
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 'polly')
-rw-r--r-- | polly/include/polly/Support/ScopHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/include/polly/Support/ScopHelper.h b/polly/include/polly/Support/ScopHelper.h index 5001d121fa77..17480c5381c5 100644 --- a/polly/include/polly/Support/ScopHelper.h +++ b/polly/include/polly/Support/ScopHelper.h @@ -522,7 +522,7 @@ bool hasDebugCall(ScopStmt *Stmt); /// !{ !"Name" } /// /// Then `nullptr` is set to mark the property is existing, but does not carry -/// any value. If the property does not exist, `None` is returned. +/// any value. If the property does not exist, `std::nullopt` is returned. std::optional<llvm::Metadata *> findMetadataOperand(llvm::MDNode *LoopMD, llvm::StringRef Name); |