summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/divmod.ll
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-06-21 05:54:55 +0000
committerJordan Rose <jordan_rose@apple.com>2012-06-21 05:54:55 +0000
commit422080f547c0841d18a44d6395dc28e10c8ab467 (patch)
tree567eceea8eaec0bfa705cbaa5f2bf0160a98d272 /llvm/test/CodeGen/ARM/divmod.ll
parent815fe26ed35a0ff22b176c2c76bb0c0b2d9c16d9 (diff)
downloadbcm5719-llvm-422080f547c0841d18a44d6395dc28e10c8ab467.tar.gz
bcm5719-llvm-422080f547c0841d18a44d6395dc28e10c8ab467.zip
Pretend that enum constants have enum type when inferring a block return type.
In C, enum constants have the type of the enum's underlying integer type, rather than the type of the enum. (This is not true in C++.) This leads to odd warnings when returning enum constants directly in blocks with inferred return types. The easiest way out of this is to pretend that, like C++, enum constants have enum type when being returned from a block. <rdar://problem/11662489> llvm-svn: 158899
Diffstat (limited to 'llvm/test/CodeGen/ARM/divmod.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud