aganea wrote:

The reason of this `/Fo` output path fiddling code is this: 
https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Clang.cpp#L1072-L1082
It's because that highlighted code doesn't handle the clang-cl case, it doesn't 
consider `/Fo`. Probably because most people don't use `-MT`/`-MF` with 
clang-cl (it has to be escaped on the command-line such as `/clang:-MT 
/clang:-MF...`. I can fix it there (in Clang.cpp) instead, and remove all the 
related code in `clang_scan_deps_main()`.

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

Reply via email to