]> granicus.if.org Git - clang/commit
With packed enums, an enumerator's value may be stored in more bits
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 17:12:35 +0000 (17:12 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 17:12:35 +0000 (17:12 +0000)
commit6623584c0ec508110d75572eef092bf98fedf3f4
tree8a747f7d0a07ba8d5170cc4f321657327626b5dc
parent9fde9c424f734e1ef45177999e3a04faad127414
With packed enums, an enumerator's value may be stored in more bits
than the enumeration type itself takes. Fixes PR7477.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107163 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/Sema/enum-packed.c [new file with mode: 0644]