HomePhabricator

Fix the clang-cl self-host with VS 2013 headers

Authored by rnk on Jul 21 2016, 2:06 PM.

Description

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

Details

Committed
rnkJul 21 2016, 2:06 PM
Parents
rG283d8df277df: Enable cross-compilation across architectures on android
Branches
Unknown
Tags
Unknown