diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 3767c1930b7..e6d1f49591a 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -26,7 +26,8 @@ namespace llvm { class LLVMContext; struct EVT; - struct MVT { // MVT = Machine Value Type + class MVT { // MVT = Machine Value Type + public: enum SimpleValueType { // If you change this numbering, you must change the values in // ValueTypes.td as well!