aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2016-03-23 16:28:28 +0000
committerManman Ren <manman.ren@gmail.com>2016-03-23 16:28:28 +0000
commit6d93ad844a5b81e36d67596ffa055f0f3d00d1f5 (patch)
treedae539a94d8a2e659224d43c1de4b9582742084d /llvm/lib/Object/COFFObjectFile.cpp
parentb7d30cbc7ec8fbaf21d005468ae6d26f41e3a329 (diff)
downloadllvm-6d93ad844a5b81e36d67596ffa055f0f3d00d1f5.zip
llvm-6d93ad844a5b81e36d67596ffa055f0f3d00d1f5.tar.gz
llvm-6d93ad844a5b81e36d67596ffa055f0f3d00d1f5.tar.bz2
ObjC: Handle boolean fixed type for enum.
Before this commit, we assert failure in ImplicitCastExpr "unheralded conversion to bool". This commit fixes the assertion by using the correct cast type when the fixed type is boolean. This commit also fixes the behavior for Microsoft mode as well, since Obj-C and Microsoft mode share the same code path. rdar://24999533 llvm-svn: 264167
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions