sammccall added a comment.

In https://reviews.llvm.org/D39799#920780, @JVApen wrote:

> How does this new file know if it should handle it's flags as  it does in 
> clang.exe or clang-cl.exe?


It doesn't set argv[0], so it's treated like `clang` by default.

I believe the flag `--driver-mode={gcc,g++,cpp,cl}` can be used to change this.
(I should add this to the brief doc)


Repository:
  rL LLVM

https://reviews.llvm.org/D39799



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to