Add a list end sentinal
authorChris Lattner <sabre@nondot.org>
Wed, 5 Jan 2005 22:14:14 +0000 (22:14 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 5 Jan 2005 22:14:14 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19299 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/ValueTypes.h

index ed58c9eee6a0e551353fc70ae15527bb9f066afb..77524ec0d2477d0992a93d8d38dea9d6ff6aa6e5 100644 (file)
@@ -39,6 +39,8 @@ namespace MVT {  // MVT = Machine Value Types
     f128            = 10,   // This is a 128 bit floating point value
 
     isVoid          = 11,   // This has no value
+
+    LAST_VALUETYPE,         // This always remains at the end of the list.
   };
 
   static inline bool isInteger(ValueType VT) {