OSDN Git Service

Since some time clang itself figures out the default for ms-compatibility-version...
authorIsmail Donmez <ismail@i10z.com>
Thu, 26 May 2016 15:52:23 +0000 (15:52 +0000)
committerIsmail Donmez <ismail@i10z.com>
Thu, 26 May 2016 15:52:23 +0000 (15:52 +0000)
commit6803422ad67ab2467d6604a7d08e033b7d1084af
treeb5252c8a5bfa9ebc2f744c7d68be78d824eb4649
parenta14da14da0933e10f2dfc95eaee691a3b04a1b16
Since some time clang itself figures out the default for ms-compatibility-version  and uses it. Trying to figure it out during build is redundant and also will not work when the environment variable VSINSTALLDIR is not defined (which is not defined if you don't install whole Visual Studio but use Visual C++ Build Tools package).

Tested by bootstrapping clang with clang-cl.

Differential Revision: http://reviews.llvm.org/D20672

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270860 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake