-emit-ast header repeat


I use -emit-ast to generate AST files.
And I find the AST files are so big.
every AST file include the system headers.
How can I get AST files without the repeat headers.

I don’t think you can. How would the compiler know where to get those type definitions from when you try to load the ast?