In C a function declaration with an empty argument list isn't a real
prototype, it will allow calling the function with any number of
arguments. It will also cause warnings when used in C code compiled with
'-Wstrict-prototypes'
Details
Details
- Reviewers
deadalnix whitequark - Commits
- rZORG26707bade70d: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
rZORG179352f9e7d8: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
rG26707bade70d: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
rG179352f9e7d8: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
rG4732d3abdf07: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
rL360012: [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo