]> granicus.if.org Git - clang/commit
Improve type-checking of ?: for Objective-C types.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 3 Sep 2008 17:53:25 +0000 (17:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 3 Sep 2008 17:53:25 +0000 (17:53 +0000)
commit40727a4b43d827319553620fa1183f4bcb346d2d
treea4b695d4a09b72e99bf4d64e80758b0147a10858
parent60dbad831a35ba0f58256b9bcd2a085af98ff2ec
Improve type-checking of ?: for Objective-C types.
 - Allow any Objective-C object types to devolve to type id in a ?:
   expression. This matches gcc behavior more closely.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaObjC/conditional-expr-2.m [moved from test/SemaObjC/conditional-expr2.m with 63% similarity]
test/SemaObjC/conditional-expr-3.m [new file with mode: 0644]
test/SemaObjC/conditional-expr.m