aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2021-05-17 14:12:11 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2021-05-17 14:14:13 +0200
commit05de4b413930418b60c0dd1e72681b476b50e7fb (patch)
treeb9270be7168705e58b79d4781fe95e9be28d19a8 /llvm/unittests/Support/MathExtrasTest.cpp
parente35a9ecf3df8f26ce50f8429cbaaf5a0e0212e86 (diff)
downloadllvm-05de4b413930418b60c0dd1e72681b476b50e7fb.zip
llvm-05de4b413930418b60c0dd1e72681b476b50e7fb.tar.gz
llvm-05de4b413930418b60c0dd1e72681b476b50e7fb.tar.bz2
Put back the trailing commas 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 https://github.com/google/googletest/issues/2271
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
-rw-r--r--llvm/unittests/Support/MathExtrasTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/MathExtrasTest.cpp b/llvm/unittests/Support/MathExtrasTest.cpp
index 50dd151..6088fdc 100644
--- a/llvm/unittests/Support/MathExtrasTest.cpp
+++ b/llvm/unittests/Support/MathExtrasTest.cpp
@@ -483,7 +483,7 @@ class OverflowTest : public ::testing::Test { };
using OverflowTestTypes = ::testing::Types<signed char, short, int, long,
long long>;
-TYPED_TEST_SUITE(OverflowTest, OverflowTestTypes);
+TYPED_TEST_SUITE(OverflowTest, OverflowTestTypes, );
TYPED_TEST(OverflowTest, AddNoOverflow) {
TypeParam Result;