[clang-tools-extra] r299764 - Fix compiler warnings: "ISO c99 requires rest arguments to be used" on
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 7 05:37:32 PDT 2017
Author: hokein
Date: Fri Apr 7 07:37:32 2017
New Revision: 299764
URL: http://llvm.org/viewvc/llvm-project?rev=299764&view=rev
Log:
Fix compiler warnings: "ISO c99 requires rest arguments to be used" on
the test file.
Modified:
clang-tools-extra/trunk/unittests/clang-rename/RenameClassTest.cpp
Modified: clang-tools-extra/trunk/unittests/clang-rename/RenameClassTest.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-rename/RenameClassTest.cpp?rev=299764&r1=299763&r2=299764&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-rename/RenameClassTest.cpp (original)
+++ clang-tools-extra/trunk/unittests/clang-rename/RenameClassTest.cpp Fri Apr 7 07:37:32 2017
@@ -189,7 +189,7 @@ INSTANTIATE_TEST_CASE_P(
// friends, everyone needs friends.
{"class Foo { int i; friend class a::Foo; };",
"class Foo { int i; friend class b::Bar; };", "", ""},
- })));
+ })), );
TEST_P(RenameClassTest, RenameClasses) {
auto Param = GetParam();
@@ -298,7 +298,7 @@ INSTANTIATE_TEST_CASE_P(
{"namespace o1 { class Foo { int i; friend class Old; }; }",
"namespace o1 { class Foo { int i; friend class New; }; }",
"::o1::Old", "::o1::New"},
- })));
+ })), );
TEST_P(NamespaceDetectionTest, RenameClasses) {
auto Param = GetParam();
@@ -394,7 +394,7 @@ INSTANTIATE_TEST_CASE_P(
{"template <typename T> struct Moo { ns::Old<T> o_; }; Moo<int> m;",
"template <typename T> struct Moo { ns::New<T> o_; }; Moo<int> m;",
"ns::Old", "ns::New"},
- })));
+ })), );
TEST_P(TemplatedClassRenameTest, RenameTemplateClasses) {
auto Param = GetParam();
More information about the cfe-commits
mailing list