Skip to content

Commit

Permalink
[NFC] Add trailing comma on TYPED_TEST_SUITE
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Alexandre Rames committed Sep 14, 2021
1 parent 76dc8ac commit d79bb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/Support/HashBuilderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ using HasherTAndEndiannessToTest =
HasherTAndEndianness<llvm::SHA256, llvm::support::little>,
HasherTAndEndianness<llvm::SHA256, llvm::support::native>>;
template <typename HasherT> class HashBuilderTest : public testing::Test {};
TYPED_TEST_SUITE(HashBuilderTest, HasherTAndEndiannessToTest);
TYPED_TEST_SUITE(HashBuilderTest, HasherTAndEndiannessToTest, );

template <typename HasherTAndEndianness>
using HashBuilder = llvm::HashBuilder<typename HasherTAndEndianness::HasherT,
Expand Down

0 comments on commit d79bb30

Please sign in to comment.