]> granicus.if.org Git - clang/commit
Sema::CheckConditionalOperands(): Soften pointer/integer mismatch from error->warning.
authorSteve Naroff <snaroff@apple.com>
Wed, 8 Apr 2009 17:05:15 +0000 (17:05 +0000)
committerSteve Naroff <snaroff@apple.com>
Wed, 8 Apr 2009 17:05:15 +0000 (17:05 +0000)
commit9158804749356f88be8c5a3bade75b761846273c
tree413cadba139fa8758d5d95b12e18efa13cb6fd3c
parentab4eff620a9ce0ea62cdf29529a66c2c98d116f5
Sema::CheckConditionalOperands(): Soften pointer/integer mismatch from error->warning.

Fixes <rdar://problem/6762239> [sema] gcc incompatibility; error on incompatible operand types in ?:.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68617 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/conditional-expr.c