https://github.com/zeyi2 requested changes to this pull request.
I think I found an invalid fix-it:
```c++
#define COMMA ,
int broken_array[] = {
1
COMMA
};
```
The check suggests the following fix:
```
warning: initializer list should have a trailing comma
[readability-trailing-comma]
13 | 1
| ^
| ,
```
I think the code after fix wont compile.
https://github.com/llvm/llvm-project/pull/173669
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits