From 92c96f29fa79d3ab188a620e6afc4f9d6dfdafd3 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 5 Dec 2022 08:37:08 +0100 Subject: [PATCH] [Kaleidoscope] Fix build after std::optional changes --- llvm/examples/Kaleidoscope/Chapter8/toy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp index 32d3c69..2d97faa 100644 --- a/llvm/examples/Kaleidoscope/Chapter8/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter8/toy.cpp @@ -1243,7 +1243,7 @@ int main() { auto Features = ""; TargetOptions opt; - auto RM = Optional(); + auto RM = std::optional(); auto TheTargetMachine = Target->createTargetMachine(TargetTriple, CPU, Features, opt, RM); -- 2.7.4