]> granicus.if.org Git - clang/commit
some cleanups on top of David's patch. There are still two
authorChris Lattner <sabre@nondot.org>
Sun, 30 Mar 2008 23:25:33 +0000 (23:25 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Mar 2008 23:25:33 +0000 (23:25 +0000)
commitce5605ecf76d8cde6372138f830bb144d174ced9
treef3aa9a95602ec48d6fa560d2c4c1599d543a9ed6
parent391d77a26382dddf25da73e29fc1fa5aaaea4c6f
some cleanups on top of David's patch.  There are still two
remaining open issues I've communicated to him:

1) self can be assigned to, and his patch didn't handle it correctly.
2) CollectObjCIvarTypes is N^2 (because each subclass reprocesses
   all parent class ivars) and flattens classes.  If A derives from B,
   and both have an int, I'd expect to get { {i32}, i32}, not { i32, i32}.

David, please review.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48970 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenTypes.cpp