[PATCH] D36669: Build LLVM with -Wstrict-prototypes enabled

Alex Lorenz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 04:13:54 PDT 2017


arphaman created this revision.
Herald added a subscriber: mgorny.

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


Repository:
  rL LLVM

https://reviews.llvm.org/D36669

Files:
  cmake/modules/HandleLLVMOptions.cmake
  projects/compiler-rt/lib/profile/GCDAProfiling.c
  projects/compiler-rt/lib/profile/InstrProfiling.h
  projects/compiler-rt/lib/profile/InstrProfilingFile.c
  projects/compiler-rt/lib/profile/InstrProfilingInternal.h
  projects/compiler-rt/lib/profile/InstrProfilingUtil.h
  projects/libunwind/src/config.h
  projects/libunwind/src/unwind_ext.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36669.110939.patch
Type: text/x-patch
Size: 5959 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170814/d10f115a/attachment.bin>


More information about the llvm-commits mailing list