<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 19, 2012, at 3:41 PM, Dmitri Gribenko wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Thu, Dec 20, 2012 at 1:36 AM, Fariborz Jahanian <<a href="mailto:fjahanian@apple.com">fjahanian@apple.com</a>> wrote:<br><blockquote type="cite">Author: fjahanian<br></blockquote><blockquote type="cite">Date: Wed Dec 19 17:36:00 2012<br></blockquote><blockquote type="cite">New Revision: 170606<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=170606&view=rev">http://llvm.org/viewvc/llvm-project?rev=170606&view=rev</a><br></blockquote><blockquote type="cite">Log:<br></blockquote><blockquote type="cite">Audit DeclPrinter with -ast-dump on Cocoa.h and<br></blockquote><blockquote type="cite">fix any bad objectiveC syntax coming out of<br></blockquote><blockquote type="cite">DeclPrinter. This is on going. Also, introduce a new<br></blockquote><blockquote type="cite">PrintPolicy and use it as needed when declaration tag<br></blockquote><blockquote type="cite">is to be produced via DeclPrinter.<br></blockquote><br>Tests, please.<br><br><font class="Apple-style-span" color="#007520"><br></font></div></blockquote><div><br></div>I added couple of protocol tests in r170635. But I am not familiar adding test for more complex situations.</div><div><br></div><div>This is the other test I need to add.</div><div><br></div><div><div>@interface SUPER @end</div><div>@interface SUB : SUPER </div><div>- (void) Meth; </div><div>@end</div><div><br></div><div>before the improvement:</div><div><br></div><div><div>@interface SUPER@end</div><div>@interface SUB : SUPER- (void) Meth; </div><div>@end</div><div><br></div><div>after the improvement:</div><div><br></div><div><div>@interface SUPER @end</div><div>@interface SUB : SUPER</div><div>- (void) Meth;</div><div>@end</div><div><br></div><div>- Fariborz</div><div><br></div></div></div><blockquote type="cite"><div>-- <br>main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com">gribozavr@gmail.com</a>>*/<br></div></blockquote></div><br></body></html>