[cfe-commits] [Review] rolling out ASTContext::getTypeSizeInBytes()

Ken Dyck Ken.Dyck at onsemi.com
Tue Nov 24 11:26:29 PST 2009


The attached patch rolls out the recently-added
ASTContext::getTypeSizeInBytes() method, replacing many (hopefully all)
of the expressions that calculate the byte size of a type by dividing
its bit size by a literal 8 or the bit size of the char type.

The changes are numerous but straighforward, touching portions of
CodeGen, Analysis, and AST. Could somebody review the patch before I
commit?

Cheers,
-Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getTypeSizeInBytes-rollout.r89760.patch
Type: application/octet-stream
Size: 13942 bytes
Desc: getTypeSizeInBytes-rollout.r89760.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091124/97da061e/attachment.obj>


More information about the cfe-commits mailing list