On Mon, Aug 6, 2012 at 8:42 AM, Douglas Gregor <[email protected]> wrote:
> On Aug 3, 2012, at 2:15 PM, Dmitri Gribenko <[email protected]> wrote:
>> +// \returns command
>> +
>> +def warn_doc_returns_not_attached_to_a_function_decl : Warning<
>> + "'\\%0' command used in a comment that is not attached to "
>> + "a function declaration">,
>> + InGroup<Documentation>, DefaultIgnore;
>
> "function or method", to cover ObjC methods?
>
>> +def warn_doc_returns_attached_to_a_void_function : Warning<
>> + "'\\%0' command used in a comment that is attached to a "
>> + "%select{void function|constructor|destructor}1">,
>> + InGroup<Documentation>, DefaultIgnore;
>
> Should the select also specialize for 'method', for ObjCMethodDecls?
Thank you for the review! I agree. Changed diagnostic text in 161324.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits