Sent from my iPhone
On Sep 13, 2012, at 12:07 PM, Dmitri Gribenko <[email protected]> wrote: > On Thu, Sep 13, 2012 at 7:45 PM, Douglas Gregor <[email protected]> wrote: >> >> On Sep 13, 2012, at 6:11 AM, Dmitri Gribenko <[email protected]> wrote: >> >>> Author: gribozavr >>> Date: Thu Sep 13 08:11:20 2012 >>> New Revision: 163793 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=163793&view=rev >>> Log: >>> Fix Doxygen misuse: refer to parameter names in paragraphs correctly (\arg >>> is >>> not what most people want -- it starts a new paragraph). >> >> Is there a warning that goes along with this? > > I was experimenting with warnings for unknown commands trying to find > logic that would not be too noisy. This was a one-off tool -- firing > a warning for every \arg; it was very fruitful for LLVM codebase > because \arg in paragraph is a misuse and \arg instead of \param is a > style issue. > > I could try to make a warning for \arg inside a paragraph. >From the size of your patch, I suspect that would be a useful warning. > 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
