Author: uabelho Date: Thu May 9 05:12:35 2019 New Revision: 360334 URL: http://llvm.org/viewvc/llvm-project?rev=360334&view=rev Log: Fix gcc compilation warning in test case [NFC]
Without this, gcc (7.4) complains with ../tools/clang/tools/extra/clangd/unittests/PrintASTTests.cpp:99:28: error: ISO C++11 requires at least one argument for the "..." in a variadic macro [-Werror] }))); ^ Modified: clang-tools-extra/trunk/clangd/unittests/PrintASTTests.cpp Modified: clang-tools-extra/trunk/clangd/unittests/PrintASTTests.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/unittests/PrintASTTests.cpp?rev=360334&r1=360333&r2=360334&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/unittests/PrintASTTests.cpp (original) +++ clang-tools-extra/trunk/clangd/unittests/PrintASTTests.cpp Thu May 9 05:12:35 2019 @@ -96,7 +96,7 @@ INSTANTIATE_TEST_CASE_P(ASTUtilsTests, A struct Bar { friend class Foo<int>; }; template <> struct ^Foo<int> {};)cpp", {"<int>"}}, - }))); + })),); } // namespace } // namespace clangd } // namespace clang _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits