Fix the clang-cl self-host with VS 2013 headers
authorReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:06:04 +0000 (21:06 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 21 Jul 2016 21:06:04 +0000 (21:06 +0000)
commita4de84604a4f93a45154f18f72b2043d2cac6914
tree3ed035f9833058d26c14827c203c0481b9dafc42
parent283d8df277dfa6f15714157484e21f57b4fb5007
Fix the clang-cl self-host with VS 2013 headers

std::numeric_limits<int64_t>::max() is not constexpr in VC 2013 headers,
and Clang complains that it isn't. MSVC 2013 itself is emitting a
dynamic initializer for this thing. Instead, use an enum.

llvm-svn: 276334
llvm/lib/Analysis/CFLGraph.h