[LLVMdev] libclang parsing bug

Klemen Forstneric brucewayne97 at gmail.com
Thu Aug 16 13:22:25 PDT 2012


The bug number is 13619. Oh, apparently it crashes if you substitute
"reinterpret_cast" with "static_cast" or "dynamic_cast" as well.



> > Hey everyone,
> >
> > first of all I just wanted to say thanks :) I've been using libclang for
> building my own C/C++ IDE and its great. I have, however discovered a bug
> (which I already submitted on llvm bugzilla but I got the impression that
> no one reads that :)). If I try to use clang_parseTranslationUnit on this
> code below:
> >
> > int main() { return reinterpret_cast
> >
> > libclang crashes.
>
> I can confirm that Apple's released clang will crash as well; and same
> with TOT.
>
> What's the bug #?
>
> -- Marshall
>
> Marshall Clow     Idio Software   <mailto:mclow.lists at gmail.com>
>
> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is
> promptly moderated down to (-1, Flamebait).
>         -- Yu Suzuki
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120816/d4041310/attachment.html>


More information about the llvm-dev mailing list