HomePhabricator

Wrap C APIs with pragmas enforcing -Werror=strict-prototypes

Authored by dexonsmith on Nov 14 2019, 1:57 PM.

Description

Wrap C APIs with pragmas enforcing -Werror=strict-prototypes

Force -Werror=strict-prototypes so that C API tests fail to compile if
we add a non-prototype declaration. This should help avoid regressions
like bddecba4b333f7772029b4937d2c34f9f2fda6ca was fixing.

https://reviews.llvm.org/D70285
rdar://problem/57203137

Details

Committed
dexonsmithNov 19 2019, 1:18 PM
Parents
rG3a8104a9ea3d: Precommit test showing oppurtunity when computing exit tests of unsimplified IR
Branches
Unknown
Tags
Unknown