[cfe-dev] Can clang parse the Linux kernel?

Chris Lattner clattner at apple.com
Fri Dec 19 14:56:47 PST 2008


On Dec 19, 2008, at 1:19 PM, Douglas Gregor wrote:

> On Dec 19, 2008, at 10:10 PM, Roberto Bagnara wrote:
>> Trying to answer this question, I had a go at Linux 2.6.27.10.
>> I did not go very far, as make stopped because of the following:
>> Should I file bug reports for such problems?
>
> Yes, please. We aim to eventually support most of GCC's extensions. In
> this case, we haven't implemented a cast to union type:
>
> 	http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Cast-to-Union.html#Cast-to-Union

This is a known problem:
http://llvm.org/bugs/show_bug.cgi?id=2746

-Chris



More information about the cfe-dev mailing list