jhuber6 wrote:

I'm wondering if it would be better to make this something that the toolchains 
handle in `TranslateArgs`. That way we can prevent it from being added at all. 
Although I don't know how that would allow us to override stuff. There's not 
really a way to "override" flags like this if we ignore it at all. We could 
"assume" that if someone does `-Xarch_device -foo` they want the device to use 
it, but that's not really what the flag means.

https://github.com/llvm/llvm-project/pull/88402
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to