diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-01-28 20:13:44 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-01-28 20:13:44 +0000 |
| commit | 0ad84b46e317b5b9c0c74edcc602a1f0ed679b17 (patch) | |
| tree | c0ddcfcd220db70181883ad228f82f395ead85aa /clang/test/SemaObjC | |
| parent | 6d8776a514ed7cbc7f3d72dba729bddbdb9c9034 (diff) | |
| download | bcm5719-llvm-0ad84b46e317b5b9c0c74edcc602a1f0ed679b17.tar.gz bcm5719-llvm-0ad84b46e317b5b9c0c74edcc602a1f0ed679b17.zip | |
Undo my re-wording of the "ARC forbids Objective-C objects in ..."
error. Jordan is right.
llvm-svn: 173713
Diffstat (limited to 'clang/test/SemaObjC')
| -rw-r--r-- | clang/test/SemaObjC/arc-decls.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/SemaObjC/arc-decls.m b/clang/test/SemaObjC/arc-decls.m index e9ce4151883..cdf6cc64ff2 100644 --- a/clang/test/SemaObjC/arc-decls.m +++ b/clang/test/SemaObjC/arc-decls.m @@ -3,17 +3,17 @@ // rdar://8843524 struct A { - id x; // expected-error {{ARC forbids Objective-C objects of type '__strong id' in struct}} + id x; // expected-error {{ARC forbids Objective-C objects in struct}} }; union u { - id u; // expected-error {{ARC forbids Objective-C objects of type '__strong id' in union}} + id u; // expected-error {{ARC forbids Objective-C objects in union}} }; @interface I { struct A a; struct B { - id y[10][20]; // expected-error {{ARC forbids Objective-C objects}} + id y[10][20]; // expected-error {{ARC forbids Objective-C objects in struct}} id z; } b; @@ -23,7 +23,7 @@ union u { // rdar://10260525 struct r10260525 { - id (^block) (); // expected-error {{ARC forbids blocks of type 'id (^__strong)()' in struct}} + id (^block) (); // expected-error {{ARC forbids blocks in struct}} }; struct S { |

