summaryrefslogtreecommitdiff
path: root/polly/include/polly/ScopInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'polly/include/polly/ScopInfo.h')
-rw-r--r--polly/include/polly/ScopInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h
index b89d1be50a83..e62ac9372a5c 100644
--- a/polly/include/polly/ScopInfo.h
+++ b/polly/include/polly/ScopInfo.h
@@ -34,6 +34,7 @@
#include <cassert>
#include <cstddef>
#include <forward_list>
+#include <optional>
namespace polly {
using llvm::AnalysisInfoMixin;
@@ -51,7 +52,6 @@ using llvm::LoadInst;
using llvm::make_range;
using llvm::MapVector;
using llvm::MemIntrinsic;
-using llvm::Optional;
using llvm::PassInfoMixin;
using llvm::PHINode;
using llvm::RegionNode;
@@ -1662,7 +1662,7 @@ private:
Region &R;
/// The name of the SCoP (identical to the regions name)
- Optional<std::string> name;
+ std::optional<std::string> name;
// Access functions of the SCoP.
//