[cfe-dev] how to do an AST-dump of a cpp file
Richard Smith
richard at metafoo.co.uk
Wed Jul 3 08:42:48 PDT 2013
You can use -ast-dump-filter to dump a subset of the ast.
On 3 Jul 2013 01:43, "Kang Hu" <hukangustc at gmail.com> wrote:
>
>
> when i dump the AST of a cpp file using clang,
> i get the AST of the preprocessed cpp file, which can be huge.
> so i'd like to know if clang has an option to disable dump
> AST of the included header files.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130703/c205a0df/attachment.html>
More information about the cfe-dev
mailing list