Fix the MSVC build. MSVC does not support constexpr.

llvm-svn: 214091
This commit is contained in:
Zachary Turner 2014-07-28 16:44:28 +00:00
parent 261aa1f23a
commit 3b2065f017
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ static const CoreDefinition g_core_definitions[] =
// Ensure that we have an entry in the g_core_definitions for each core. If you comment out an entry above,
// you will need to comment out the corresponding ArchSpec::Core enumeration.
static_assert(llvm::array_lengthof(g_core_definitions) == ArchSpec::kNumCores, "make sure we have one core definition for each core");
static_assert(sizeof(g_core_definitions) / sizeof(CoreDefinition) == ArchSpec::kNumCores, "make sure we have one core definition for each core");
struct ArchDefinitionEntry