summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/Utils
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2016-12-07 10:52:18 +0000
committerAlex Lorenz <arphaman@gmail.com>2016-12-07 10:52:18 +0000
commit840f8df67759b6893b6e58d2eb08124cb5822525 (patch)
tree2a274e96cee6ac5da2847e68f735307e36e99baa /llvm/lib/Target/X86/Utils
parent32d5aedd5be8e7f031525af31208d7ea8905945e (diff)
downloadbcm5719-llvm-840f8df67759b6893b6e58d2eb08124cb5822525.tar.gz
bcm5719-llvm-840f8df67759b6893b6e58d2eb08124cb5822525.zip
Implement the -Wstrict-prototypes warning
This commit fixes PR20796. It implements the C only -Wstrict-prototypes warning. Clang now emits a warning for function declarations which have no parameters specified and for K&R function definitions with more than 0 parameters that are not preceded by a previous prototype declaration. The patch was originally submitted by Paul Titei! rdar://15060615 Differential Revision: https://reviews.llvm.org/D16533 llvm-svn: 288896
Diffstat (limited to 'llvm/lib/Target/X86/Utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud