commit | c8f01ebbce3c874b43ee78535f7d179517f5f436 | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Wed Nov 24 19:51:04 2010 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Wed Nov 24 19:51:04 2010 +0000 |
tree | 778a9adf226e29e228be99398e7c1499967ad295 | |
parent | ba2c2eec87d614b06e194b289627bbfe0642e4ce [diff] |
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