commit | dd76a9ab9ea675671200f94b18ce95766841952b | [log] [tgz] |
---|---|---|
author | Ken Dyck <kd@kendyck.com> | Fri Feb 11 01:54:29 2011 +0000 |
committer | Ken Dyck <kd@kendyck.com> | Fri Feb 11 01:54:29 2011 +0000 |
tree | 12945459f4e5250a0888bb4956ebb68cc66c70be | |
parent | 0e376a0ca8372c9e809d08a9db2fae98394878b8 [diff] |
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