]> granicus.if.org Git - clang/commit
only update the llvm type for a struct when we used the struct
authorChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 05:12:09 +0000 (05:12 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 05:12:09 +0000 (05:12 +0000)
commit6ef58e36bbbfa232fe8b50309361e841985abfc6
tree065a59e33747713a8ac74dc2474bd3691ffb3e4f
parentc5b8806cda286cf41866176ef98011fdaa68da01
only update the llvm type for a struct when we used the struct
previously in an opaque context.  If we didn't do this,
computing its layout could be wasted: just be lazy.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46802 91177308-0d34-0410-b5e6-96231b3b80d8
CodeGen/CodeGenTypes.cpp