Change getTargetNodeName() to produce compiler warnings for missing cases, fix them
[oota-llvm.git] / lib / Target / XCore / XCoreISelLowering.h
index b20fc014ccdfffd7d747fe0e9d6a30c5febc57a6..0032b056c3c943d1794da05d15bfb0213fe53bb1 100644 (file)
@@ -26,7 +26,7 @@ namespace llvm {
   class XCoreTargetMachine;
 
   namespace XCoreISD {
-    enum NodeType {
+    enum NodeType : unsigned {
       // Start the numbering where the builtin ops and target ops leave off.
       FIRST_NUMBER = ISD::BUILTIN_OP_END,