r184652 - Comment parsing: followup to r184610: allow multiple \returns

Dmitri Gribenko gribozavr at gmail.com
Sun Jun 23 13:14:22 PDT 2013


On Sun, Jun 23, 2013 at 9:47 AM, jahanian <fjahanian at apple.com> wrote:
>
> On Jun 22, 2013, at 4:03 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>
>> Author: gribozavr
>> Date: Sat Jun 22 18:03:37 2013
>> New Revision: 184652
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=184652&view=rev
>> Log:
>> Comment parsing: followup to r184610: allow multiple \returns
>>
>> Remove unneeded member in CommentSema, add a test for the XML schema (the
>> schema already allowed multiple paragraphs in <ResultDiscussion>, but there
>> were no tests for that), fix HTML generation (it is not allowed to have <p>
>
> Actually, comment-to-html-xml-conversion.cpp had an unintended  multiple \return test in it. So, I did not add
> a new one. But it doesn't hurt. Thanks for the follow up.

Schema tests test that XML schema allows what we want to allow, while
the comment-to-html-xml-conversion.cpp tests whether what we produce
corresponds to the schema.

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>*/



More information about the cfe-commits mailing list