]> granicus.if.org Git - clang/commit
Add a helper function, ASTContext::toBits(), that converts sizes in
authorKen Dyck <kd@kendyck.com>
Fri, 11 Feb 2011 01:54:29 +0000 (01:54 +0000)
committerKen Dyck <kd@kendyck.com>
Fri, 11 Feb 2011 01:54:29 +0000 (01:54 +0000)
commitdd76a9ab9ea675671200f94b18ce95766841952b
tree12945459f4e5250a0888bb4956ebb68cc66c70be
parent0e376a0ca8372c9e809d08a9db2fae98394878b8
Add a helper function, ASTContext::toBits(), that converts sizes in
CharUnits to sizes in bits, and use it to tidy up the places where the
conversion was done explicitly.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125332 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/RecordLayoutBuilder.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CGRecordLayoutBuilder.cpp