[cfe-dev] Clang AST bug?

Saoni Mukherjee sayani.mookherjee at gmail.com
Sun Feb 2 10:25:06 PST 2014


I have installed Clang using the description mentioned on the website. All
seemed okay. Now when I try to generate the AST from a C source file, I get
the source code back. In other words, if I enter
clang -cc1 -ast-print <file>.c

Instead of getting an AST, I get back the source code of the <file>.c

Is it a bug or I am doing something silly?

Thanks!

Saoni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140202/b045e675/attachment.html>


More information about the cfe-dev mailing list