1 // RUN: %clang_cc1 -fsyntax-only -verify %s 2 // rdar://20350364 3 4 @interface NSObject @end 5 6 @interface DBGViewDebuggerSupport : NSObject 7 + (void)addViewLayerInfo:(id)view; 8 - (void)addInstViewLayerInfo:(id)view; 9 @end 10 11 @interface DBGViewDebuggerSupport_iOS : DBGViewDebuggerSupport 12 @end 13 14 @implementation DBGViewDebuggerSupport_iOS 15 + (void)addViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}} 16 { 17 [super addViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}} 18 } 19 - (void)addInstViewLayerInfo:(id)aView; // expected-note {{'aView' declared here}} 20 { 21 [super addInstViewLayerInfo:view]; // expected-error {{use of undeclared identifier 'view'; did you mean 'aView'?}} 22 } 23 @end 24