[cfe-commits] r164047 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseObjc.cpp test/SemaObjC/unused.m test/SemaObjC/warning-missing-selector-name.m

jahanian fjahanian at apple.com
Mon Sep 17 15:13:51 PDT 2012


On Sep 17, 2012, at 3:11 PM, Douglas Gregor wrote:

> 
> Corrected example:
> 
> interface A
> - method:(id) second:(id)second;
> @end
> 
> @implementation A
> - method:(id)first second:(id)second { }
> @end
> 
> Aside from the general "incomplete implementation" warning, this won't get diagnosed by your patch because it's the @interface that has the problem, but we're only diagnosing for @implementations.

Good point. I am convinced :). 
- Thanks, Fariborz

> 
> 	- Doug




More information about the cfe-commits mailing list