llvm-project/clang/unittests/Tooling/Syntax
Shengchen Kan 2c63ea6ede [TEST] TreeTest.cpp - Add a comma to avoid build error with -werror
Summary:
The macro `INSTANTIATE_TEST_CASE_P` is defined as
```
\# define INSTANTIATE_TEST_CASE_P(prefix, test_case_name, generator, ...) \
...
```

If we build the test case with -werror, we will get an error like
```
error: ISO C++11 requires at least one argument for the "..." in a
variadic macro

testing::ValuesIn(TestClangConfig::allConfigs()));
                                                ^
```
This patch fixes that.

Reviewers: gribozavr, hlopko, eduucaldas, gribozavr2

Reviewed By: gribozavr2

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81388
2020-06-08 23:14:16 +08:00
..
CMakeLists.txt Run syntax tree tests in many language modes 2020-06-02 10:30:01 +02:00
TokensTest.cpp [Syntax] Add mapping from spelled to expanded tokens for TokenBuffer 2020-04-07 15:07:16 +02:00
TreeTest.cpp [TEST] TreeTest.cpp - Add a comma to avoid build error with -werror 2020-06-08 23:14:16 +08:00