aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Serialization/SourceLocationEncodingTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Serialization/SourceLocationEncodingTest.cpp')
-rw-r--r--clang/unittests/Serialization/SourceLocationEncodingTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Serialization/SourceLocationEncodingTest.cpp b/clang/unittests/Serialization/SourceLocationEncodingTest.cpp
index d32e242..2640ea4 100644
--- a/clang/unittests/Serialization/SourceLocationEncodingTest.cpp
+++ b/clang/unittests/Serialization/SourceLocationEncodingTest.cpp
@@ -22,7 +22,7 @@ using LocSeq = SourceLocationSequence;
// If ExpectedEncoded is provided, verify the encoded value too.
// Loc is the raw (in-memory) form of SourceLocation.
void roundTrip(SourceLocation::UIntTy Loc,
- llvm::Optional<uint64_t> ExpectedEncoded = std::nullopt) {
+ std::optional<uint64_t> ExpectedEncoded = std::nullopt) {
uint64_t ActualEncoded =
SourceLocationEncoding::encode(SourceLocation::getFromRawEncoding(Loc));
if (ExpectedEncoded)