summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-09-24 22:51:51 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-09-24 22:51:51 +0000
commit61740f6649173ec2d1e74dc3e11c3245fae8e0fb (patch)
tree868d581c751fe85d5c26592ddd6d910be12afa81 /clang/test
parent4b877688861680fb313303620fe82b109c49bd7e (diff)
downloadbcm5719-llvm-61740f6649173ec2d1e74dc3e11c3245fae8e0fb.tar.gz
bcm5719-llvm-61740f6649173ec2d1e74dc3e11c3245fae8e0fb.zip
objective-C: use 'instance variables' as plural when referring
to the feature. llvm-svn: 164566
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaObjC/arc-property-decl-attrs.m6
-rw-r--r--clang/test/SemaObjC/arc-property-lifetime.m6
-rw-r--r--clang/test/SemaObjC/arc-property.m2
-rw-r--r--clang/test/SemaObjC/ivar-in-class-extension-error.m4
-rw-r--r--clang/test/SemaObjC/ivar-in-class-extension.m2
5 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/SemaObjC/arc-property-decl-attrs.m b/clang/test/SemaObjC/arc-property-decl-attrs.m
index b474df43252..283772c2279 100644
--- a/clang/test/SemaObjC/arc-property-decl-attrs.m
+++ b/clang/test/SemaObjC/arc-property-decl-attrs.m
@@ -5,7 +5,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(strong) id x;
@property(strong) id y;
@@ -16,7 +16,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(retain) id x;
@property(retain) id y;
@@ -27,7 +27,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(copy) id x;
@property(copy) id y;
diff --git a/clang/test/SemaObjC/arc-property-lifetime.m b/clang/test/SemaObjC/arc-property-lifetime.m
index 9da17672dee..19570815f61 100644
--- a/clang/test/SemaObjC/arc-property-lifetime.m
+++ b/clang/test/SemaObjC/arc-property-lifetime.m
@@ -5,7 +5,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(strong) id x; // expected-note {{property declared here}}
@property(strong) id y; // expected-note {{property declared here}}
@@ -22,7 +22,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(retain) id x; // expected-note {{property declared here}}
@property(retain) id y; // expected-note {{property declared here}}
@@ -39,7 +39,7 @@
@public
id __unsafe_unretained x;
id __weak y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(copy) id x; // expected-note {{property declared here}}
@property(copy) id y; // expected-note {{property declared here}}
diff --git a/clang/test/SemaObjC/arc-property.m b/clang/test/SemaObjC/arc-property.m
index 826dbd384ae..2925459620e 100644
--- a/clang/test/SemaObjC/arc-property.m
+++ b/clang/test/SemaObjC/arc-property.m
@@ -33,7 +33,7 @@
@public
id __unsafe_unretained x; // should be __weak
id __strong y;
- id __autoreleasing z; // expected-error {{instance variable cannot have __autoreleasing ownership}}
+ id __autoreleasing z; // expected-error {{instance variables cannot have __autoreleasing ownership}}
}
@property(weak) id x; // expected-note {{property declared here}}
@property(weak) id y; // expected-note {{property declared here}}
diff --git a/clang/test/SemaObjC/ivar-in-class-extension-error.m b/clang/test/SemaObjC/ivar-in-class-extension-error.m
index d3f49b80467..c90e4780688 100644
--- a/clang/test/SemaObjC/ivar-in-class-extension-error.m
+++ b/clang/test/SemaObjC/ivar-in-class-extension-error.m
@@ -4,12 +4,12 @@
@interface A @end
@interface A () {
- int _p0; // expected-error {{instance variable may not be placed in class extension}}
+ int _p0; // expected-error {{instance variables may not be placed in class extension}}
}
@property int p0;
@end
@interface A(CAT) {
- int _p1; // expected-error {{instance variable may not be placed in categories}}
+ int _p1; // expected-error {{instance variables may not be placed in categories}}
}
@end
diff --git a/clang/test/SemaObjC/ivar-in-class-extension.m b/clang/test/SemaObjC/ivar-in-class-extension.m
index 6f3de6a70e6..dc5cf6abf67 100644
--- a/clang/test/SemaObjC/ivar-in-class-extension.m
+++ b/clang/test/SemaObjC/ivar-in-class-extension.m
@@ -32,7 +32,7 @@ int fn3(SomeClass *obj) {
@interface SomeClass (Category)
{
- int categoryIvar; // expected-error {{instance variable may not be placed in categories}}
+ int categoryIvar; // expected-error {{instance variables may not be placed in categories}}
}
@end
OpenPOWER on IntegriCloud