]> granicus.if.org Git - clang/commit
Add more tests for MSVC version handling.
authorDavid L. Jones <dlj@google.com>
Wed, 7 Dec 2016 23:39:44 +0000 (23:39 +0000)
committerDavid L. Jones <dlj@google.com>
Wed, 7 Dec 2016 23:39:44 +0000 (23:39 +0000)
commitf5dd409017f4cbc87aa886f076cb1865c803b8bf
treef8d3175e89b939c75fe164b2978d7f9bb6823661
parent74f707052af99f9ab9b2d6877e95e886517b5355
Add more tests for MSVC version handling.

Summary:
This change adds more test cases for the default MSVC compatibility version:
 1. When -fms-extensions is supplied, but -fmsc-version and
    -fms-compatibility-version are not.
 2. With the target triple specifies an MSVC environment, but no other
    -fms* flags.

Reviewers: rnk, llvm-commits

Subscribers: hans, compnerd, amccarth

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288997 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/msc-version.c
test/Driver/msvc-triple.c