commit | f079b735d876f75e67b8dcc6980d0b742903ce0d | [log] [tgz] |
---|---|---|
author | Ken Dyck <kd@kendyck.com> | Mon Feb 28 02:01:38 2011 +0000 |
committer | Ken Dyck <kd@kendyck.com> | Mon Feb 28 02:01:38 2011 +0000 |
tree | 0800184b1c48e29ad83ab475136e3ccfd6919dbd | |
parent | d3bf3c0287a057eafe4b5d5588ebbb29f40ab6e1 [diff] |
Retry r126357. Use CharUnits for the Size and DataSize calculations when they are known to be exact multiples of the width of the char type. Add a test case to CodeGen/union.c that would have caught the problem with the previous attempt. No change in functionality intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126628 91177308-0d34-0410-b5e6-96231b3b80d8