llvm-6502/lib/Target/XCore/MCTargetDesc
Reid Kleckner fe8490c22e TableGen: Use 'enum : uint64_t' for feature flags to fix -Wmicrosoft
clang-cl would warn that this value is not representable in 'int':
  enum { FeatureX = 1ULL << 31 };
All MS enums are 'ints' unless otherwise specified, so we have to use an
explicit type.  The AMDGPU target just hit 32 features, triggering this
warning.

Now that we have C++11 strong enum types, we can also eliminate the
'const uint64_t' codepath from tablegen and just use 'enum : uint64_t'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231697 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-09 20:23:14 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
XCoreMCAsmInfo.cpp Remove HasLEB128. 2014-08-15 14:01:07 +00:00
XCoreMCAsmInfo.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
XCoreMCTargetDesc.cpp Remove 'virtual' keyword from methods markedwith 'override' keyword. 2014-08-30 16:48:34 +00:00
XCoreMCTargetDesc.h TableGen: Use 'enum : uint64_t' for feature flags to fix -Wmicrosoft 2015-03-09 20:23:14 +00:00