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 113395 compiler-rt/trunk/lib/profile/GCDAProfiling.c
compiler-rt/trunk/lib/profile/InstrProfiling.h
compiler-rt/trunk/lib/profile/InstrProfilingFile.c
compiler-rt/trunk/lib/profile/InstrProfilingInternal.h
compiler-rt/trunk/lib/profile/InstrProfilingUtil.h
libunwind/trunk/src/config.h
libunwind/trunk/src/unwind_ext.h
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
|