]> granicus.if.org Git - clang/commit
Fix the clang bootstrap and Jay's testcase from llvm-dev by being completely
authorChris Lattner <sabre@nondot.org>
Sun, 10 Jul 2011 03:47:27 +0000 (03:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Jul 2011 03:47:27 +0000 (03:47 +0000)
commitf0a8679b6e6635117533b89894646f1450cea25b
tree0524a1b5ef9d8052c6bc846d6614c8c187fa05c6
parent12569fb55db2a8181711ac134b7479155db4f838
Fix the clang bootstrap and Jay's testcase from llvm-dev by being completely
conservative when converting a functiontype to IR when in a "pointer within
a struct" context.  This has the unfortunate sideeffect of compiling all
function pointers inside of structs into "{}*" which, though correct, is
ugly.  This has the positive side effect of being correct, and it is pretty
straight-forward to improve on this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134861 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenTypes.cpp
test/CodeGen/struct.c
test/CodeGenCXX/anonymous-union-member-initializer.cpp
test/CodeGenObjC/arc-foreach.m
test/CodeGenObjC/arc.m
test/CodeGenObjCXX/arc-special-member-functions.mm