[cfe-dev] Filtering output of ASTPrinter
adrien.chauve at gmail.com
Thu May 19 00:35:13 PDT 2011
Thanks a lot for the hint!
On Wed, May 18, 2011 at 23:02, Douglas Gregor <dgregor at apple.com> wrote:
> On May 18, 2011, at 12:09 PM, Adrien Chauve wrote:
> > Hi,
> > I tested clang::CreateASTPrinter and it's really nice (I can't wait to
> test different pretty printer policies).
> > But I'm wondering if it's possible to print back the #include as they are
> in the source file, instead of printing the ast content of the header file.
> There aren't any command-line flags to do this, although you could do this
> by digging into the source locations (which include full file-inclusion
> - Doug
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev