[cfe-commits] [Review] Rolling out ASTContext::getTypeSizeInChars()

Ken Dyck Ken.Dyck at onsemi.com
Mon Jan 4 11:08:25 PST 2010


The attached patches replace occurrences of ASTContext::getTypeSize()/8
with ASTContext::getTypeSizeInChars(),  converting [u]int64_t variables
to CharUnits ones where it seems appropriate. No functional changes are
intended. The changes touch the AST, Analysis, Sema, and CodeGen
libraries and are split into patches accordingly.

Comments appreciated.

-Ken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetTypeSizeInChars-Sema.patch
Type: application/octet-stream
Size: 686 bytes
Desc: GetTypeSizeInChars-Sema.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100104/c17dab46/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetTypeSizeInChars-Analysis.patch
Type: application/octet-stream
Size: 4446 bytes
Desc: GetTypeSizeInChars-Analysis.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100104/c17dab46/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetTypeSizeInChars-AST.patch
Type: application/octet-stream
Size: 7649 bytes
Desc: GetTypeSizeInChars-AST.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100104/c17dab46/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GetTypeSizeInChars-CodeGen.patch
Type: application/octet-stream
Size: 17730 bytes
Desc: GetTypeSizeInChars-CodeGen.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100104/c17dab46/attachment-0003.obj>


More information about the cfe-commits mailing list