zmodem wrote:

Sorry, I don't remember seeing that discussion, and I'm probably missing lots 
of modules context. As a counter argument, clang-cl uses `/Yc` and `/Fp` to 
generate PCH files, to match MSVC's interface although the file format is 
different.

More importantly, it feels like we're being very unintentional about the 
interface design here. Why should clang-cl's `/Fo` name a BMI file if that's 
not what MSVC does, and the document clearly says that the flag "Specifies an 
object (.obj) file name or directory to be used instead of the default."?

If the idea is to punt on the design, maybe the solution is just to use regular 
clang flags for this?

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

Reply via email to