Clang 5 supports -Wstrict-prototypes. We should use it to catch any C declarations that declare a non-prototype function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D36669
Build LLVM with -Wstrict-prototypes enabled ClosedPublic Authored by arphaman on Aug 14 2017, 4:12 AM.
Details Summary Clang 5 supports -Wstrict-prototypes. We should use it to catch any C declarations that declare a non-prototype function.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 25 2017, 8:38 AM Closed by commit rL312240: Build LLVM with -Wstrict-prototypes enabled (authored by arphaman). · Explain WhyAug 31 2017, 6:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 110939 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
|