<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Mar 5, 2013, at 15:51 , jahanian <<a href="mailto:fjahanian@apple.com">fjahanian@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><div><br class="Apple-interchange-newline">On Mar 5, 2013, at 3:37 PM, Jordan Rose <<a href="mailto:jordan_rose@apple.com">jordan_rose@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>I hate to continue bikeshedding here, but why is this not just a single warning with a %select and associated enum { Function, Callback, Method }?</div><div><br></div><div>Also, "Objective-C" should not be lowercase.</div><div><br></div><br></div></blockquote><br></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">No particular reason. I see that objective-c is being used throughout clang source in comments.</div></blockquote><br></div><div>I meant the diagnostic text:</div><div><br></div><div><span style="font-family: Menlo-Regular; font-size: 11px;">+def warn_doc_method_not_attached_to_a_objc_method_decl : Warning<</span><br style="font-family: Menlo-Regular; font-size: 11px;"><span style="font-family: Menlo-Regular; font-size: 11px;">+ "'%select{\\|@}0method' command should be used in a comment attached to an "</span><br style="font-family: Menlo-Regular; font-size: 11px;"><span style="font-family: Menlo-Regular; font-size: 11px;">+ "objective-c method declaration">,</span><br style="font-family: Menlo-Regular; font-size: 11px;"></div><div><span style="font-family: Menlo-Regular; font-size: 11px;"><br></span></div><div><span style="font-family: Menlo-Regular; font-size: 11px;"><br></span></div>I'm not really happy about it being lowercase in the source either, but you're right that that's hardly uncommon.</body></html>