]> granicus.if.org Git - clang/commit
Handle the edge case of a weak function with incomplete type correctly.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 26 May 2009 01:22:57 +0000 (01:22 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 26 May 2009 01:22:57 +0000 (01:22 +0000)
commitc6c14d1cd68afcd90d097715296377f15be45210
treef5c3a779c2b0deea975ff96cc3453cfd1ff19d19
parente9263729b701cb02201907c6942cada72d5eefbf
Handle the edge case of a weak function with incomplete type correctly.
Found by code inspection; I haven't seen this in real-world code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
test/CodeGen/weak-incomplete.c [new file with mode: 0644]