When included in a C program, these function declarations are treated as
K&R declarations, which conveys no information about the number of
arguments of the function. A function with no arguments has to be
declared with parameter-type-list "void".
Details
Details
- Reviewers
aaron.ballman arphaman • ddunbar jkorous
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 38711 Build 38710: arc lint + arc unit
Event Timeline
Comment Actions
Can be "reproduced" with clang -fsyntax-only -Wstrict-prototypes clang/include/clang-c/*.h.