aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/RefactoringTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
-rw-r--r--clang/unittests/Tooling/RefactoringTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/RefactoringTest.cpp b/clang/unittests/Tooling/RefactoringTest.cpp
index f0edff6..e38afc1 100644
--- a/clang/unittests/Tooling/RefactoringTest.cpp
+++ b/clang/unittests/Tooling/RefactoringTest.cpp
@@ -1294,7 +1294,7 @@ TEST_F(AtomicChangeTest, Metadata) {
TEST_F(AtomicChangeTest, NoMetadata) {
AtomicChange Change(Context.Sources, DefaultLoc);
- EXPECT_FALSE(Change.getMetadata().hasValue());
+ EXPECT_FALSE(Change.getMetadata().has_value());
}
class ApplyAtomicChangesTest : public ::testing::Test {