diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp index 0783a23a67b0..0e6e993cf3da 100644 --- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp +++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp @@ -584,6 +584,6 @@ INSTANTIATE_TEST_CASE_P(ParameterizedCovMapTest, CoverageMappingTest, ::testing::Values(std::pair({false, false}), std::pair({false, true}), std::pair({true, false}), - std::pair({true, true}))); + std::pair({true, true})),); } // end anonymous namespace diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index 1b44463cd650..b15029a08137 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -1024,6 +1024,6 @@ TEST_F(SparseInstrProfTest, preserve_no_records) { } INSTANTIATE_TEST_CASE_P(MaybeSparse, MaybeSparseInstrProfTest, - ::testing::Bool()); + ::testing::Bool(),); } // end anonymous namespace