The underlying type for an enum should be an integer type, not another enum.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 18 Dec 2012 02:37:32 +0000 (02:37 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 18 Dec 2012 02:37:32 +0000 (02:37 +0000)
commit52f32b9b2be52b50377ec6a7315bbf079692aeaf
treed1feb1254f6f960afb0e109d7bb3167f667d1063
parent62737b65b17349d08159c3126c16497d34a97ac1
The underlying type for an enum should be an integer type, not another enum.
(This change only affects ObjC.)

<rdar://problem/12857117>.

llvm-svn: 170402
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaObjC/enum-fixed-type.m