Greg Clayton 56b796856f Make sure we don't crash if someone (E.G.) comments out on entry from g_core_definitions[] without removing the ArchSpec::Core enumeration when submitting from source.
We now catch the issue with a static_assert() at compile time and use llvm::array_lengthof(g_core_definitions) as well.

<rdar://problem/17767541>

llvm-svn: 213778
2014-07-23 18:12:06 +00:00
..
2014-07-01 21:22:11 +00:00
2014-05-02 00:45:31 +00:00
2014-06-27 02:42:12 +00:00
2014-04-04 04:06:10 +00:00
2013-01-25 18:06:21 +00:00
2014-07-08 18:05:41 +00:00
2012-02-24 01:59:29 +00:00
2014-04-02 03:51:35 +00:00
2014-07-01 21:22:11 +00:00
2014-07-01 21:22:11 +00:00
2014-07-01 21:22:11 +00:00
2013-01-25 18:06:21 +00:00
2013-01-25 18:06:21 +00:00
2013-01-25 18:06:21 +00:00
2013-01-25 18:06:21 +00:00