]> granicus.if.org Git - clang/commit
Replace calls to CharUnits::fromQuantity() with ones
authorKen Dyck <ken.dyck@onsemi.com>
Tue, 18 Jan 2011 01:56:16 +0000 (01:56 +0000)
committerKen Dyck <ken.dyck@onsemi.com>
Tue, 18 Jan 2011 01:56:16 +0000 (01:56 +0000)
commitfb1e3bc29b667f4275e1d5a43d64ec173f4f9a7d
tree66efc799bbe7d4a111884b7578d6855f95da5144
parenta75732201b19059a0e56a88b0eb5a0e5dd3c6ca3
Replace calls to CharUnits::fromQuantity() with ones
ASTContext::toCharUnitsFromBits() when converting from bit sizes to char units.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123715 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
lib/AST/RecordLayoutBuilder.cpp