commit | eb6f5dc86531f794ba7746a2da4d28e37cf5da7e | [log] [tgz] |
---|---|---|
author | Ken Dyck <ken.dyck@onsemi.com> | Sat Jan 15 18:38:59 2011 +0000 |
committer | Ken Dyck <ken.dyck@onsemi.com> | Sat Jan 15 18:38:59 2011 +0000 |
tree | f18474d03690d020845248bc2aa1b2064acbb212 | |
parent | 2d78c374508dc1f4595fe5172b39bf51b07aa48c [diff] |
Add toCharUnitsInBits() to simplify the many calls to CharUnits::fromQuantity() of the form CharUnits::fromQuantity(bitSize, Context.getCharWidth()). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123542 91177308-0d34-0410-b5e6-96231b3b80d8