dexonsmith added a comment. In D122895#3511611 <https://reviews.llvm.org/D122895#3511611>, @dexonsmith wrote:
> Previously, `-Wstrict-prototypes` was useful for preventing actual bugs in > code. For example, it's important to have a warning that catches code like this: void f1(void (^block)()); void f2(void) { f1(^(int x) { /* do something with x */ }); } without triggering in cases that are pedantic. (It also seems unfortunate to regress the false positive rate of this diagnostic before `-fstrict-prototypes` is available.) 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