aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/PredicateInfo.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-12-12 08:29:05 +0000
committerFangrui Song <i@maskray.me>2022-12-12 08:29:05 +0000
commitc178ed33bd82151f21abc3c0015c671b33556999 (patch)
tree49ff57aa48c95a6edf0c97e1084a998205f4faf4 /llvm/lib/Transforms/Utils/PredicateInfo.cpp
parenta73455ac8e9bd02f843916c12c261cfd9ccb06a9 (diff)
downloadllvm-c178ed33bd82151f21abc3c0015c671b33556999.zip
llvm-c178ed33bd82151f21abc3c0015c671b33556999.tar.gz
llvm-c178ed33bd82151f21abc3c0015c671b33556999.tar.bz2
Transforms/Utils: llvm::Optional => std::optional
Diffstat (limited to 'llvm/lib/Transforms/Utils/PredicateInfo.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/PredicateInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/PredicateInfo.cpp b/llvm/lib/Transforms/Utils/PredicateInfo.cpp
index 9a1f334..1f16ba7 100644
--- a/llvm/lib/Transforms/Utils/PredicateInfo.cpp
+++ b/llvm/lib/Transforms/Utils/PredicateInfo.cpp
@@ -783,7 +783,7 @@ PredicateInfo::~PredicateInfo() {
}
}
-Optional<PredicateConstraint> PredicateBase::getConstraint() const {
+std::optional<PredicateConstraint> PredicateBase::getConstraint() const {
switch (Type) {
case PT_Assume:
case PT_Branch: {