diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2017-02-11 17:49:53 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2017-02-11 17:49:53 +0000 |
commit | 3dcb85b01f2d4ecbd1616579e9f96391e509aa38 (patch) | |
tree | eaa7544ec0340209414c51f96e902d93f67d7f47 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 9df26d330fd53a8a81cc68d8e7aa0a0f3e1a456a (diff) | |
download | bcm5719-llvm-3dcb85b01f2d4ecbd1616579e9f96391e509aa38.tar.gz bcm5719-llvm-3dcb85b01f2d4ecbd1616579e9f96391e509aa38.zip |
Attributes on K&R C functions should not cause incompatible function type with a redeclaration having the same attribute. Fixing this introduced a secondary problem where we were assuming that K&R functions could not be attributed types when reporting old-style function definitions that are not preceded by a prototype.
This patch fixes PR31020.
llvm-svn: 294861
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions