]> granicus.if.org Git - clang/commit
Driver: correct behaviour of -fmsc-version=MAJOR
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 23 Jun 2014 17:36:36 +0000 (17:36 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 23 Jun 2014 17:36:36 +0000 (17:36 +0000)
commita91f0e5edcd60f82eec602740b2c0f449ee5facd
tree2017c18f74168a78fc01b8e438da8c0852aed8d1
parent9784b810524025a48f1c49cc3bc634ebf0e9a663
Driver: correct behaviour of -fmsc-version=MAJOR

Ensure that we properly handle the case where just the major version component
is provided by the user.

Thanks to Alp Toker for pointing out that this was not handled correctly!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211506 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp
test/Driver/msc-version.c