[clang] Use Any::has_value instead of Any::hasValue (NFC)

This commit is contained in:
Kazu Hirata 2022-08-20 08:40:18 -07:00
parent 6d1a685172
commit fc4d3a1109
1 changed files with 1 additions and 1 deletions

View File

@ -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 {