aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/CodeGen/PassManagerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/CodeGen/PassManagerTest.cpp')
-rw-r--r--llvm/unittests/CodeGen/PassManagerTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/CodeGen/PassManagerTest.cpp b/llvm/unittests/CodeGen/PassManagerTest.cpp
index 436d42e..33f6b2f 100644
--- a/llvm/unittests/CodeGen/PassManagerTest.cpp
+++ b/llvm/unittests/CodeGen/PassManagerTest.cpp
@@ -197,8 +197,8 @@ public:
return;
TargetOptions Options;
- TM.reset(TheTarget->createTargetMachine(TripleName, "", "",
- Options, None));
+ TM.reset(TheTarget->createTargetMachine(TripleName, "", "", Options,
+ std::nullopt));
}
};