aaron.ballman added a comment.

FWIW, now that 
https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c 
has reached a conclusion, I think this patch may be worth resurrecting, if 
you're interested.

https://discourse.llvm.org/t/rfc-enabling-wstrict-prototypes-by-default-in-c/60521/38
 has most of the conclusion which includes a diagnostic option roughly similar 
to what you have in this patch, though there was a request for the diagnostic 
in this patch to be named `-Wstrict-uses-without-prototype` so that it can 
encompass other cases like function pointer assignment.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116635

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

Reply via email to