[PATCH] D52773: clang-cl: Add /showFilenames option (PR31957)

Zachary Turner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 4 05:38:24 PDT 2018


zturner added a subscriber: rnk.
zturner added a comment.

I agree magic environment variables are bad, but without it we don’t
address the only current actual use we have for this, which is making the
vs integration print filenames. Detecting compiler version from inside the
integration is hard, but with an environment variable it’s very easy to
solve.

I’m not against a flag as the supported way, but I think we should also
have some backdoor into this functionality, because if we’re not going to
satisfy the only known use case, then maybe it’s better to not even do it
at all.


https://reviews.llvm.org/D52773





More information about the cfe-commits mailing list