[clang] fix bug that undefined internal is a warning only for -pedantic-errors (PR #98016)

Constantin Kronbichler via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 11 05:00:03 PDT 2024


ccrownhill wrote:

Oh that makes sense so

```
static void f();
void *k = _Generic(&f, void (*)(void) : 0, default : f);
```

should be ok since it is not in the result expression?

https://github.com/llvm/llvm-project/pull/98016


More information about the cfe-commits mailing list