================

----------------
aykevl wrote:

It might be worth adding a check for something like this?

```c
__attribute__((signal)) void foog() {} // expected-warning {{'signal' attribute 
only applies to functions that have no parameters}}
```

(This is because C, at least in the past, treated no parameters as a variadic 
function).

https://github.com/llvm/llvm-project/pull/125328
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to