diff options
Diffstat (limited to 'llvm/unittests/Support/YAMLParserTest.cpp')
| -rw-r--r-- | llvm/unittests/Support/YAMLParserTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/YAMLParserTest.cpp b/llvm/unittests/Support/YAMLParserTest.cpp index 14def9c52887..b52a3850c02b 100644 --- a/llvm/unittests/Support/YAMLParserTest.cpp +++ b/llvm/unittests/Support/YAMLParserTest.cpp @@ -343,7 +343,7 @@ TEST(YAMLParser, FlowSequenceTokensOutsideFlowSequence) { } static void expectCanParseBool(StringRef S, bool Expected) { - llvm::Optional<bool> Parsed = yaml::parseBool(S); + std::optional<bool> Parsed = yaml::parseBool(S); EXPECT_TRUE(Parsed.has_value()); EXPECT_EQ(*Parsed, Expected); } |
