[PATCH] D93375: [clang][driver] Add -ansi option to CompileOnly group

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 5 06:20:46 PST 2021


aaron.ballman added a comment.

In D93375#2479303 <https://reviews.llvm.org/D93375#2479303>, @tbaeder wrote:

> I guess I could add a test for the example I posted, but I'm not sure of how much value that is. Or do you mean a test case that -ansi and -std=c89 behave the same in every situation?

I was thinking of a test that demonstrates that a given flag isn't passed along to the linker so that we could test that neither `-std=whatever` nor `-ansi` get passed along (to ensure we don't regress accidentally in the future). However, I'm not certain if that's a big ask or not.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93375/new/

https://reviews.llvm.org/D93375



More information about the cfe-commits mailing list