]> granicus.if.org Git - clang/commit
clang-cl: Fix path-based MSVC version detection
authorHans Wennborg <hans@hanshq.net>
Wed, 17 May 2017 15:27:44 +0000 (15:27 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 17 May 2017 15:27:44 +0000 (15:27 +0000)
commitd4df3e3e59080c80f05a1a4aac88d59411516fda
treecb3213f32c215125e2f250a6753606feb4793a2f
parent816bdf00bc4c54797a7c9bbcb86fd47a70774227
clang-cl: Fix path-based MSVC version detection

The code wasn't taking the architecture-specific subdirectory into
account.

Differential Revision: https://reviews.llvm.org/D33258

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303267 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/MSVC.cpp