]> granicus.if.org Git - clang/commit
Make CodeGenTypes::getCGRecordLayout compute the layout lazily if it doesn't exist...
authorAnders Carlsson <andersca@mac.com>
Wed, 24 Nov 2010 19:51:04 +0000 (19:51 +0000)
committerAnders Carlsson <andersca@mac.com>
Wed, 24 Nov 2010 19:51:04 +0000 (19:51 +0000)
commitc8f01ebbce3c874b43ee78535f7d179517f5f436
tree778a9adf226e29e228be99398e7c1499967ad295
parentba2c2eec87d614b06e194b289627bbfe0642e4ce
Make CodeGenTypes::getCGRecordLayout compute the layout lazily if it doesn't exist. This matches ASTContext::getASTRecordLayout and is less confusing.

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