]> granicus.if.org Git - clang/commit
Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings.
authorSteve Naroff <snaroff@apple.com>
Tue, 14 Oct 2008 22:18:38 +0000 (22:18 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 14 Oct 2008 22:18:38 +0000 (22:18 +0000)
commit395790772565002c0ac03f2c8de9b0a6c7adcaf3
tree64338c0e0cd98501dbe720da32aee86c9524f301
parentd7e6221878cb42c1a95a281f5084fcd097b0526e
Downgrade incompatibilities with objc qualified types (e.g. id <P>) to warnings.
Note: One day, we should consider moving the actual diags to ObjCQualifiedIdTypesAreCompatible(), since it has more information on the actual problem. GCC currently emits slightly more instructive errors for some cases involving protocols. I added a FIXME to the code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57529 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/Sema.h
lib/Sema/SemaExpr.cpp
test/SemaObjC/compatible-protocol-qualified-types.m
test/SemaObjC/comptypes-1.m
test/SemaObjC/comptypes-3.m
test/SemaObjC/comptypes-5.m
test/SemaObjC/comptypes-7.m
test/SemaObjC/conditional-expr-3.m
test/SemaObjC/conditional-expr.m
test/SemaObjC/protocol-id-test-3.m