]> granicus.if.org Git - clang/commit
clang-cl: With -fmsc-version=1900, use MSVS2015 diag formatting.
authorNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 22:57:55 +0000 (22:57 +0000)
committerNico Weber <nicolasweber@gmx.de>
Wed, 23 Mar 2016 22:57:55 +0000 (22:57 +0000)
commitb885d54711505d5d5759fc824a178bbee163b5e6
tree2189bf4398899104fa61ef9404556d4db35df049
parent10fef645a6f8c9c73683fd8f6b95fd4197253e05
clang-cl: With -fmsc-version=1900, use MSVS2015 diag formatting.

Remove tests that have neither a triple nor an explicit -fmsc-version flag,
since in the absence of an -fmsc-version flag, the implicit value of the flag
is 17 (MSVC2013) with MSVC triples but 0 (not set) for other triples, and
the default triple is platform dependent.

This relands r263974 with a test fix.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264210 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/TextDiagnostic.cpp
test/Misc/diag-format.c