I've got cpp file with some nested include, and I'd like list all the headers are eventually included into the file (directly or indirectly) before it undergo compilation.
I can use either clang or GCC, and I wonder if there's a flag that spans the headers inside the cpp structure before it continue to the compilation part.