diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-03-29 14:19:55 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-03-29 14:19:55 +0000 |
| commit | 6614bf2dd1f7e09bbef38b243fd42f7182897908 (patch) | |
| tree | dc632d398c6649052e671d6d90256cde96f5f143 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 4eff9acb0b3ea44ca26289885766b53528b5e44e (diff) | |
| download | clang-6614bf2dd1f7e09bbef38b243fd42f7182897908.tar.gz clang-6614bf2dd1f7e09bbef38b243fd42f7182897908.tar.bz2 clang-6614bf2dd1f7e09bbef38b243fd42f7182897908.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
