llvm-project/llvm/lib/Target/XCore/MCTargetDesc
Reid Kleckner 294fa7aa9d 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'.

llvm-svn: 231697
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