summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec.cpp
diff options
context:
space:
mode:
authorKen Dyck <kd@kendyck.com>2011-02-24 01:13:28 +0000
committerKen Dyck <kd@kendyck.com>2011-02-24 01:13:28 +0000
commitecfc75529f3176cfe135ff70c060130a5c47a762 (patch)
tree5b6293d5a5c25fb6d7b95ca1dc75371f4946d0cd /clang/test/SemaCXX/nested-name-spec.cpp
parent2b4ded329daa801b932ff707aa83d3cacada8bcb (diff)
downloadbcm5719-llvm-ecfc75529f3176cfe135ff70c060130a5c47a762.tar.gz
bcm5719-llvm-ecfc75529f3176cfe135ff70c060130a5c47a762.zip
Make the Size and DataSize members more CharUnits-friendly by wrapping them
with getter and setter methods in both bit units and CharUnits. This will help simplify some of the unit mismatch in the parts of the code where sizes are known to be exact multiples of the width of the char type. Assertions in the getters help guard against accidentally converting to CharUnits when sizes are not exact multiples of the char width. llvm-svn: 126354
Diffstat (limited to 'clang/test/SemaCXX/nested-name-spec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud