https://github.com/Sirraide commented:
The tests are in the wrong directory (you’ve added them to a file in
`test/Preprocessor`, but this is a Sema change so the test should probably be
in `test/Sema`).
Additionally, a test involving typo correction would probably be a good idea:
```c
#define FOO1()
void f() {
int FOO;
int x = FOO1; // Typo correction to 'FOO' instead of note about 'FOO1()'.
}
```
https://github.com/llvm/llvm-project/pull/123495
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits