]> granicus.if.org Git - llvm/commitdiff
Fixed warning: must specify at least one argument for '...' parameter.
authorGalina Kistanova <gkistanova@gmail.com>
Sun, 4 Jun 2017 05:30:26 +0000 (05:30 +0000)
committerGalina Kistanova <gkistanova@gmail.com>
Sun, 4 Jun 2017 05:30:26 +0000 (05:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304676 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ProfileData/CoverageMappingTest.cpp
unittests/ProfileData/InstrProfTest.cpp

index 0783a23a67b06689946121a8c96acfe1739b8b95..0e6e993cf3da2104c414a3a700c6401886dffa33 100644 (file)
@@ -584,6 +584,6 @@ INSTANTIATE_TEST_CASE_P(ParameterizedCovMapTest, CoverageMappingTest,
                         ::testing::Values(std::pair<bool, bool>({false, false}),
                                           std::pair<bool, bool>({false, true}),
                                           std::pair<bool, bool>({true, false}),
-                                          std::pair<bool, bool>({true, true})));
+                                          std::pair<bool, bool>({true, true})),);
 
 } // end anonymous namespace
index 1b44463cd65043d2ef96794bd6a40b80aae174fe..b15029a08137d69de033215b313296b09809a835 100644 (file)
@@ -1024,6 +1024,6 @@ TEST_F(SparseInstrProfTest, preserve_no_records) {
 }
 
 INSTANTIATE_TEST_CASE_P(MaybeSparse, MaybeSparseInstrProfTest,
-                        ::testing::Bool());
+                        ::testing::Bool(),);
 
 } // end anonymous namespace