[cfe-dev] [PATCH] libclang interface for comments AST
Dmitri Gribenko
gribozavr at gmail.com
Fri Jul 20 13:22:20 PDT 2012
On Fri, Jul 20, 2012 at 10:21 AM, Jean-Daniel Dupas
<devlists at shadowlab.org> wrote:
> While you're working on comment parser, you may be interested by this bug:
>
> http://llvm.org/bugs/show_bug.cgi?id=13411
>
> This is a comment that make the comment parser crash (by assertion)
Fixed in r160568.
@code, according to Doxygen, is a starting command of a verbatim code block
(clearly not something that comment author intended -- seems like they didn't
use Doxygen).
The assertion was wrong in case we have a verbatim block without a closing
command.
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-dev
mailing list