]> granicus.if.org Git - llvm/commit
Build LLVM with -Wstrict-prototypes enabled
authorAlex Lorenz <arphaman@gmail.com>
Thu, 31 Aug 2017 13:23:24 +0000 (13:23 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 31 Aug 2017 13:23:24 +0000 (13:23 +0000)
commitadeedb165c2d83a8da55b02cc58442616107f6fc
treefa446540d7369d657994200b3bbb41b6a1303427
parent246452196908acc3775f627db0569027b5bcb699
Build LLVM with -Wstrict-prototypes enabled

Clang 5 supports -Wstrict-prototypes. We should use it to catch any C
declarations that declare a non-prototype function.

rdar://33705313

Differential Revision: https://reviews.llvm.org/D36669

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312240 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake