]> granicus.if.org Git - clang/commit
make some diagnostics more terse, update testcases.
authorChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2008 06:57:39 +0000 (06:57 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2008 06:57:39 +0000 (06:57 +0000)
commit6e10a08fe0427ab34c463dd59d9c0997d4f72170
tree71a8cae1ae8e62c15217baf569d6b5f69f84dc8c
parentfb8cc1dfd87a1cbbaa17d64ec753d3fe8a9e9c38
make some diagnostics more terse, update testcases.

Fix Sema::ActOnInstanceMessage to correctly do things in terms of canonical
types, fixing bogus errors like:

NSDistantObject.m:10383:120: error: bad receiver type 'typeof((id<NSMutableCopying>)self)'
    id mess = ({ id __inv__ = ((void *)0); id __mb__ = _NSMessageBuilder((id <NSMutableCopying>)self, &__inv__); (void)[(__typeof__((id <NSMutableCopying>)self))__mb__ mutableCopyWithZone:((void *)0)]; if (!objc_collecting_enabled()) object_dispose(__mb__); __inv__; });

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46633 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaExprObjC.cpp
include/clang/Basic/DiagnosticKinds.def
test/Parser/objc-forcollection-neg-2.m
test/Parser/objc-forcollection-neg.m
test/Sema/objc-bad-receiver-1.m