Revert "Improve Windows toolchain support for non-standard environments." (r220226)
authorHans Wennborg <hans@hanshq.net>
Mon, 20 Oct 2014 23:26:03 +0000 (23:26 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 20 Oct 2014 23:26:03 +0000 (23:26 +0000)
commite6b994eb93b6825d396e8ee66e791611ba112d25
tree03a4fe52019fa62050591bc3157da30fb79caf41
parent06355199f153a62c390d1e49d96cec66bc9056d2
Revert "Improve Windows toolchain support for non-standard environments." (r220226)

In environments where PATH was set to point to the VS installation, Clang would
override that by looking in the registry and finding the latest VS installation.

If the environment is set up to point to a VS installation, that should take
precedence.

Reverting this until we can fix it.

llvm-svn: 220243
clang/lib/Driver/ToolChains.h
clang/lib/Driver/Tools.cpp
clang/lib/Driver/WindowsToolChain.cpp