]> granicus.if.org Git - clang/commit
More property attribute recovery improvements. Instead of this:
authorChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 07:15:22 +0000 (07:15 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 20 Oct 2008 07:15:22 +0000 (07:15 +0000)
commitcd9f4b31c4fe5b77b5519cc17b4583fab912bad1
treefcaa3aa24fa89cd361220ecc18587a100666018b
parent91867641fde54191942c1cbb5d74f8defd0fd93d
More property attribute recovery improvements.  Instead of this:

crash.m:8:12: error: type name requires a specifier or qualifier
@property (readonlyx, getter=isAwesome) int _awesome;
           ^
crash.m:8:29: error: expected ';' at end of declaration list
@property (readonlyx, getter=isAwesome) int _awesome;
                            ^
crash.m:8:39: error: expected identifier or '('
@property (readonlyx, getter=isAwesome) int _awesome;
                                      ^

we now get:

crash.m:8:12: error: unknown property attribute 'readonlyx'
@property (readonlyx, getter=isAwesome) int _awesome;
           ^

Also, we can eliminate isObjCPropertyAttribute now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57811 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Parser.h
lib/Parse/ParseObjc.cpp
test/SemaObjC/property-9.m