Use KEY_WOW64_32KEY when reading the registry in WindowsToolChain.cpp (PR17033)
authorHans Wennborg <hans@hanshq.net>
Wed, 9 Oct 2013 23:41:48 +0000 (23:41 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 9 Oct 2013 23:41:48 +0000 (23:41 +0000)
commit935d01d80ad46f062f77e56c0e0cc55b1a22ab41
treee2430e0ad453322bc25fd614d52c651576bf2102
parent4a3836bed44412ab0b31577fe8937ff3966d25e7
Use KEY_WOW64_32KEY when reading the registry in WindowsToolChain.cpp (PR17033)

This exposes a 32-bit view of the registry even when Clang is built as a 64-bit
program. Since Visual Studio is a 32-bit application, this is necessary for us
to find it.

llvm-svn: 192331
clang/lib/Driver/WindowsToolChain.cpp