Patch: reporting the full include graph for a C++ compilation unit

Hello happy people,

I created a small patch to Clang to allow the compiler to report the full inclusion graph (i.e. a list of including file - included file) pairs. Note that this is quite similar to the functionality of -H, with the difference that this one reports also inclusions that are skipped because it would have no effect due to include guards and that the output is written to a file instead of stderr).

The patch is in the attachment. What does it take to get this submitted to Clang?


first.patch (6.71 KB)