From 81e149aab9b3676b16728e883e2f21ee938cff93 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 12 May 2023 18:33:26 -0700 Subject: 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 --- polly/include/polly/Support/ScopHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polly') 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 findMetadataOperand(llvm::MDNode *LoopMD, llvm::StringRef Name); -- cgit v1.2.1