[PATCH] Improve Windows toolchain support for non-standard environments.

Zachary Turner zturner at google.com
Fri Oct 17 15:15:53 PDT 2014


+majnemer

Also prefer finding the clang cl.exe fallback location by using the visual studio directory which is being used for includes instead of looking in the PATH first.

VC system headers are tied to a particular cl.exe and should not be mixed.  Previously, we were looking for cl.exe in the PATH, and using a different algorithm to find the VC include directories.  Now, the two methods use the same algorithm.  Or at the very least, they try to.  This also makes it possible for clang to fallback to cl even when cl is not in the PATH.

http://reviews.llvm.org/D5845

Files:
  lib/Driver/ToolChains.h
  lib/Driver/Tools.cpp
  lib/Driver/WindowsToolChain.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5845.15099.patch
Type: text/x-patch
Size: 18078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141017/452deb23/attachment.bin>


More information about the cfe-commits mailing list