Compiler.h: Disable initializer list usage with clang-cl
authorReid Kleckner <reid@kleckner.net>
Thu, 5 Dec 2013 01:03:23 +0000 (01:03 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 5 Dec 2013 01:03:23 +0000 (01:03 +0000)
commite5218051d44da2d38f94687f732d513126fed362
tree05c6f667291e8c7d8e5c687df76f52fcffefda68
parent7437feefbbb6b33a69ad9391cba29c30717dfcf6
Compiler.h: Disable initializer list usage with clang-cl

Most people are using MSVC 2012, which lacks the <initializer_list>
header.  MSVC 2013 shipped with that header, but it has not yet been
tested.  If clang works with the 2013 header, then we can enable this by
checking the value of _MSC_VER.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196448 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Compiler.h