[PATCH] D37954: Expand absolute system header paths when using -MD depfiles

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 15:33:02 PDT 2017


thakis added a comment.

I think for depfile generation, we generally try to be gcc-compatible (I can link to prior changes in this spirit), so I think this seems like a good thing to do to me. gcc only does this for system headers, yes?

Does gcc support the non-negated spelling of this flag (-f-canonical-system-headers) too? If so, we should probably support that too for completeness, even if specifying it explicitly won't change behavior.


https://reviews.llvm.org/D37954





More information about the cfe-commits mailing list