[PATCH] D122895: [C89/C2x] Improve diagnostics around strict prototypes in C

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 17 15:29:21 PDT 2022


dexonsmith added a comment.

In D122895#3511855 <https://reviews.llvm.org/D122895#3511855>, @aaron.ballman wrote:

>> (It also seems unfortunate to regress the false positive rate of this diagnostic before `-fstrict-prototypes` is available.)
>
> `-fno-knr-functions` is available already today in trunk, so I'm not certain I understand your concern there (or were you unaware we changed the flag name perhaps?).

That's right, I missed it. Thanks for pointing it out!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122895



More information about the cfe-commits mailing list