philipp.tomsich created this revision. Herald added a subscriber: steakhal. Herald added a project: All. philipp.tomsich requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
This change fixes the following warnings: llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:727:55: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 727 | TYPED_TEST_SUITE(RangeSetCastToNoopTest, NoopCastTypes); | ^ llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:728:65: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 728 | TYPED_TEST_SUITE(RangeSetCastToPromotionTest, PromotionCastTypes); | ^ llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:729:67: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 729 | TYPED_TEST_SUITE(RangeSetCastToTruncationTest, TruncationCastTypes); | ^ llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:730:67: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 730 | TYPED_TEST_SUITE(RangeSetCastToConversionTest, ConversionCastTypes); | ^ llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:732:46: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 732 | PromotionConversionCastTypes); | ^ llvm/clang/unittests/StaticAnalyzer/RangeSetTest.cpp:734:47: warning: ISO C++11 requires at least one argument for the "..." in a variadic macro 734 | TruncationConversionCastTypes); | ^ Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D142439 Files: clang/unittests/StaticAnalyzer/RangeSetTest.cpp Index: clang/unittests/StaticAnalyzer/RangeSetTest.cpp =================================================================== --- clang/unittests/StaticAnalyzer/RangeSetTest.cpp +++ clang/unittests/StaticAnalyzer/RangeSetTest.cpp @@ -724,14 +724,14 @@ CastType<int64_t, uint8_t>, CastType<uint64_t, int32_t>, CastType<uint64_t, int16_t>, CastType<uint64_t, int8_t>>; -TYPED_TEST_SUITE(RangeSetCastToNoopTest, NoopCastTypes); -TYPED_TEST_SUITE(RangeSetCastToPromotionTest, PromotionCastTypes); -TYPED_TEST_SUITE(RangeSetCastToTruncationTest, TruncationCastTypes); -TYPED_TEST_SUITE(RangeSetCastToConversionTest, ConversionCastTypes); +TYPED_TEST_SUITE(RangeSetCastToNoopTest, NoopCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToPromotionTest, PromotionCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToTruncationTest, TruncationCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToConversionTest, ConversionCastTypes, ); TYPED_TEST_SUITE(RangeSetCastToPromotionConversionTest, - PromotionConversionCastTypes); + PromotionConversionCastTypes, ); TYPED_TEST_SUITE(RangeSetCastToTruncationConversionTest, - TruncationConversionCastTypes); + TruncationConversionCastTypes, ); TYPED_TEST(RangeSetCastToNoopTest, RangeSetCastToNoopTest) { // Just to reduce the verbosity.
Index: clang/unittests/StaticAnalyzer/RangeSetTest.cpp =================================================================== --- clang/unittests/StaticAnalyzer/RangeSetTest.cpp +++ clang/unittests/StaticAnalyzer/RangeSetTest.cpp @@ -724,14 +724,14 @@ CastType<int64_t, uint8_t>, CastType<uint64_t, int32_t>, CastType<uint64_t, int16_t>, CastType<uint64_t, int8_t>>; -TYPED_TEST_SUITE(RangeSetCastToNoopTest, NoopCastTypes); -TYPED_TEST_SUITE(RangeSetCastToPromotionTest, PromotionCastTypes); -TYPED_TEST_SUITE(RangeSetCastToTruncationTest, TruncationCastTypes); -TYPED_TEST_SUITE(RangeSetCastToConversionTest, ConversionCastTypes); +TYPED_TEST_SUITE(RangeSetCastToNoopTest, NoopCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToPromotionTest, PromotionCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToTruncationTest, TruncationCastTypes, ); +TYPED_TEST_SUITE(RangeSetCastToConversionTest, ConversionCastTypes, ); TYPED_TEST_SUITE(RangeSetCastToPromotionConversionTest, - PromotionConversionCastTypes); + PromotionConversionCastTypes, ); TYPED_TEST_SUITE(RangeSetCastToTruncationConversionTest, - TruncationConversionCastTypes); + TruncationConversionCastTypes, ); TYPED_TEST(RangeSetCastToNoopTest, RangeSetCastToNoopTest) { // Just to reduce the verbosity.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits