Skip to content

Commit e21b0ba

Browse files
author
Alexandre Rames
committed
[ADT] Add trailing comma on TYPED_TEST_SUITE
This avoids a -pedantic warning: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro See also google/googletest#2271 Reviewed By: arames, bkramer Differential Revision: https://reviews.llvm.org/D110283
1 parent c3aed0d commit e21b0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/ADT/SequenceTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using IntegralTypes = testing::Types<uint8_t, // 0
3535
>;
3636

3737
template <class T> class StrongIntTest : public testing::Test {};
38-
TYPED_TEST_SUITE(StrongIntTest, IntegralTypes);
38+
TYPED_TEST_SUITE(StrongIntTest, IntegralTypes, );
3939
TYPED_TEST(StrongIntTest, Operations) {
4040
using T = TypeParam;
4141
auto Max = std::numeric_limits<T>::max();

0 commit comments

Comments
 (0)