diff options
Diffstat (limited to 'clang/test/SemaObjC')
| -rw-r--r-- | clang/test/SemaObjC/call-super-2.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/compare-qualified-id.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/conditional-expr.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/error-outof-scope-property-use.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/instancetype.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/message.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/method-not-defined.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/missing-atend-metadata.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/property-5.m | 2 | ||||
| -rw-r--r-- | clang/test/SemaObjC/protocol-id-test-1.m | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/SemaObjC/call-super-2.m b/clang/test/SemaObjC/call-super-2.m index 18a5f09407e..25cfbdd0879 100644 --- a/clang/test/SemaObjC/call-super-2.m +++ b/clang/test/SemaObjC/call-super-2.m @@ -14,7 +14,7 @@ id objc_getClass(const char *s); - (int) instance_func0; @end -@interface Derived: Object // expected-note {{receiver is object of the class that is declared here}} +@interface Derived: Object // expected-note {{receiver is instance of class declared here}} + (int) class_func1; + (int) class_func2; + (int) class_func3; diff --git a/clang/test/SemaObjC/compare-qualified-id.m b/clang/test/SemaObjC/compare-qualified-id.m index 0b7e106b351..02fa86ec8d9 100644 --- a/clang/test/SemaObjC/compare-qualified-id.m +++ b/clang/test/SemaObjC/compare-qualified-id.m @@ -12,7 +12,7 @@ typedef struct _NSZone NSZone; typedef struct {} NSFastEnumerationState; @protocol NSFastEnumeration - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id *)stackbuf count:(NSUInteger)len; @end @interface NSDictionary : NSObject <NSCopying, NSMutableCopying, NSCoding, NSFastEnumeration> - (NSUInteger)count; @end -@interface NSMutableDictionary : NSDictionary - (void)removeObjectForKey:(id)aKey; @end // expected-note {{receiver is object of the class that is declared here}} +@interface NSMutableDictionary : NSDictionary - (void)removeObjectForKey:(id)aKey; @end // expected-note {{receiver is instance of class declared here}} extern NSString * const NSTaskDidTerminateNotification; @interface XCPropertyExpansionContext : NSObject <NSCopying> { // expected-note {{required for direct or indirect protocol 'NSCopying'}} diff --git a/clang/test/SemaObjC/conditional-expr.m b/clang/test/SemaObjC/conditional-expr.m index 083453810cf..049a095ce37 100644 --- a/clang/test/SemaObjC/conditional-expr.m +++ b/clang/test/SemaObjC/conditional-expr.m @@ -34,7 +34,7 @@ // No @interface declaration for DTFilterOutputStream3 @implementation DTFilterOutputStream3 // expected-warning {{cannot find interface declaration for 'DTFilterOutputStream3'}} \ - // expected-note {{receiver is object of the class that is declared here}} + // expected-note {{receiver is instance of class declared here}} - (id)initWithNextOutputStream:(id <DTOutputStreams>) outputStream { id <DTOutputStreams> nextOutputStream = [self nextOutputStream]; // expected-warning {{method '-nextOutputStream' not found (return type defaults to 'id')}} self = nextOutputStream; // expected-warning {{assigning to 'DTFilterOutputStream3 *' from incompatible type 'id<DTOutputStreams>'}} diff --git a/clang/test/SemaObjC/error-outof-scope-property-use.m b/clang/test/SemaObjC/error-outof-scope-property-use.m index 023687bbf4d..8ab9f557455 100644 --- a/clang/test/SemaObjC/error-outof-scope-property-use.m +++ b/clang/test/SemaObjC/error-outof-scope-property-use.m @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s // rdar://13178483 -@class NSMutableDictionary; // expected-note {{receiver is object of the class that is declared here}} +@class NSMutableDictionary; // expected-note {{receiver is instance of class declared here}} @interface LaunchdJobs diff --git a/clang/test/SemaObjC/instancetype.m b/clang/test/SemaObjC/instancetype.m index 23748902715..7811d3eba58 100644 --- a/clang/test/SemaObjC/instancetype.m +++ b/clang/test/SemaObjC/instancetype.m @@ -25,7 +25,7 @@ - (instancetype)otherMethodInProto2; // expected-note{{overridden method returns an instance of its class type}} @end -@interface Subclass1 : Root // expected-note 4 {{receiver is object of the class that is declared here}} +@interface Subclass1 : Root // expected-note 4 {{receiver is instance of class declared here}} - (instancetype)initSubclass1; - (void)methodOnSubclass1; + (instancetype)allocSubclass1; diff --git a/clang/test/SemaObjC/message.m b/clang/test/SemaObjC/message.m index fc75cdbf6e2..2c4d8066f60 100644 --- a/clang/test/SemaObjC/message.m +++ b/clang/test/SemaObjC/message.m @@ -107,7 +107,7 @@ void foo5(id p) { // expected-warning {{instance method '-bar' not found}} } -@interface I1 // expected-note {{receiver is object of the class that is declared here}} +@interface I1 // expected-note {{receiver is instance of class declared here}} -(void)unavail_meth __attribute__((unavailable)); // expected-note {{marked unavailable here}} @end diff --git a/clang/test/SemaObjC/method-not-defined.m b/clang/test/SemaObjC/method-not-defined.m index 8f43c5daa7e..792469b719c 100644 --- a/clang/test/SemaObjC/method-not-defined.m +++ b/clang/test/SemaObjC/method-not-defined.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -@interface Foo // expected-note {{receiver is object of the class that is declared here}} +@interface Foo // expected-note {{receiver is instance of class declared here}} @end void test() { diff --git a/clang/test/SemaObjC/missing-atend-metadata.m b/clang/test/SemaObjC/missing-atend-metadata.m index 9d0024ac655..f235ab94d82 100644 --- a/clang/test/SemaObjC/missing-atend-metadata.m +++ b/clang/test/SemaObjC/missing-atend-metadata.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -triple i386-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s -@interface I0 // expected-note {{receiver is object of the class that is declared here}} +@interface I0 // expected-note {{receiver is instance of class declared here}} @end @implementation I0 // expected-note {{implementation started here}} diff --git a/clang/test/SemaObjC/property-5.m b/clang/test/SemaObjC/property-5.m index 782f77cfeaa..cf4f87392b6 100644 --- a/clang/test/SemaObjC/property-5.m +++ b/clang/test/SemaObjC/property-5.m @@ -8,7 +8,7 @@ @interface MutableNSData : NSData @end -@interface Base : NSData <P1> // expected-note {{receiver is object of the class that is declared here}} +@interface Base : NSData <P1> // expected-note {{receiver is instance of class declared here}} @property(readonly) id ref; @property(readonly) Base *p_base; @property(readonly) NSData *nsdata; diff --git a/clang/test/SemaObjC/protocol-id-test-1.m b/clang/test/SemaObjC/protocol-id-test-1.m index 013f291ad92..36e23ed9f29 100644 --- a/clang/test/SemaObjC/protocol-id-test-1.m +++ b/clang/test/SemaObjC/protocol-id-test-1.m @@ -7,7 +7,7 @@ @protocol P @end -@interface INTF<P> // expected-note {{receiver is object of the class that is declared here}} +@interface INTF<P> // expected-note {{receiver is instance of class declared here}} - (void)IMeth; @end |

