]> granicus.if.org Git - clang/commit
continue cleaning up code, and disable sending a message directly to an
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jul 2008 06:12:56 +0000 (06:12 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jul 2008 06:12:56 +0000 (06:12 +0000)
commit2b1cc8be4dda4cd122485be0168b3c43d7dff15f
treee9e723d93a4ddc737400dc9d668ba35ddd051727
parentfe1a553256b46fad3c0a9e9967481bcf571339ec
continue cleaning up code, and disable sending a message directly to an
interface.  This fixes a bug where we used to accept:

void test2(NSNumber x) {
[x METH];
}

which doesn't make sense and GCC rejects.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53841 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/Sema/SemaExprObjC.cpp
test/Parser/objc-init.m