aaron.ballman added a comment.

In D122895#3483163 <https://reviews.llvm.org/D122895#3483163>, @manojgupta 
wrote:

>   Basically, I'm wondering if you'd be able to enable -fno-knr-function?
>
> Thanks. this looks promising. Any ideas when  -fno-knr-function support was 
> added?

Oops, I had a slight typo, it's `-fno-knr-functions` plural. But it was added 9 
days ago in 
https://github.com/llvm/llvm-project/commit/9955f14aaf9995f6f0f7bf058ac740463003c470,
 and as of today, using that flag will disable the `-Wstrict-prototypes` 
warnings entirely (as will specifying `-std=c2x`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122895/new/

https://reviews.llvm.org/D122895

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to