[PATCH] D70285: Wrap C APIs with pragmas enforcing -Werror=strict-prototypes

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 14 18:26:14 PST 2019


dexonsmith added a comment.

Note that we have C files including these headers in llvm/tools/llvm-c-test and clang/tools/c-index-test, and I tested that dropping a `(void)` to just `()` triggers the error when compiling those.


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

https://reviews.llvm.org/D70285





More information about the cfe-commits mailing list