r181081 - [doc parsing]: Make warning about unknown command
Dmitri Gribenko
gribozavr at gmail.com
Wed May 8 16:12:15 PDT 2013
On Thu, May 9, 2013 at 2:09 AM, jahanian <fjahanian at apple.com> wrote:
>
> On May 8, 2013, at 4:02 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>
> On Thu, May 9, 2013 at 1:59 AM, Douglas Gregor <dgregor at apple.com> wrote:
>
> *Sigh*, yes, this is really noisy. Alright, we can put this into an
> off-by-default warning group. What are the specific commits we need to pull
> into 3.3 to get this silenced by default?
>
>
> The next to-be-done commit that moves the warning into a separate
> group. Please choose the color of the bikeshed :) I propose
> -Wdocumentation-unknown-command, but there might be something shorter
> with same meaning.
>
>
> So, in conclusion:
> Put the two warnings (one without the fixit part and one without the fixit
> part). Into a separate
> group of their own and make it off by default. This warning group is called
> -Wdocumentation-unknown-command
Yes, please see the attached patch (testcase missing). I'm waiting
for the build to finish (I'm on a slow machine now). If you can test
and commit it faster, please do.
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 <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-unknown-command-group-v1.patch
Type: application/octet-stream
Size: 1442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130509/67bcb808/attachment.obj>
More information about the cfe-commits
mailing list