isuckatcs wrote:

> You can probably also add the -Wstrict-prototypes to the ExtraArgs field in 
> the .clang-tidy file.

This still leaves us with the other problem. `-Wstrict-prototypes` doesn't emit 
anything with `-std=c23`, but for portability reasons we should still require 
the user to write `void foo(void)` instead of `void foo()` regardless of the 
standard.

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

Reply via email to