[all-commits] [llvm/llvm-project] e21b0b: [ADT] Add trailing comma on TYPED_TEST_SUITE

Alexandre Rames via All-commits all-commits at lists.llvm.org
Sat Sep 25 18:04:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e21b0ba8c9378bca01d2311be4e1b6ccd3397bc4
      https://github.com/llvm/llvm-project/commit/e21b0ba8c9378bca01d2311be4e1b6ccd3397bc4
  Author: Alexandre Rames <arames at apple.com>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

  Changed paths:
    M llvm/unittests/ADT/SequenceTest.cpp

  Log Message:
  -----------
  [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 https://github.com/google/googletest/issues/2271

Reviewed By: arames, bkramer

Differential Revision: https://reviews.llvm.org/D110283




More information about the All-commits mailing list