Filtering output of ASTPrinter

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.

Thanks,
Adrien

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 history).

  - Doug

Thanks a lot for the hint!

Adrien