summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-03-29 14:19:55 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-03-29 14:19:55 +0000
commitaf3698066a1ea2e5ab4cc08ae9a59620cf18adb7 (patch)
tree6611f457cde58103bfc8f8c9005b7437ca7a2c0b /clang/lib/CodeGen/CodeGenFunction.h
parent238b508aafd6199a98c09e5a600452e3496f03c3 (diff)
downloadbcm5719-llvm-af3698066a1ea2e5ab4cc08ae9a59620cf18adb7.tar.gz
bcm5719-llvm-af3698066a1ea2e5ab4cc08ae9a59620cf18adb7.zip
CodeGen: Don't crash when replacing functions
The peculiarities of C99 create scenario where an LLVM IR function declaration may need to be replaced with a definition baring a different type because the prototype and definition are not required to agree. However, we were not properly deferring this when it occurred. This fixes PR19280. llvm-svn: 205099
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud