]> granicus.if.org Git - clang/commit
Add toCharUnitsInBits() to simplify the many calls to CharUnits::fromQuantity() of...
authorKen Dyck <ken.dyck@onsemi.com>
Sat, 15 Jan 2011 18:38:59 +0000 (18:38 +0000)
committerKen Dyck <ken.dyck@onsemi.com>
Sat, 15 Jan 2011 18:38:59 +0000 (18:38 +0000)
commiteb6f5dc86531f794ba7746a2da4d28e37cf5da7e
treef18474d03690d020845248bc2aa1b2064acbb212
parent2d78c374508dc1f4595fe5172b39bf51b07aa48c
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
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp