diff --git a/include/llvm/CodeGen/DIE.h b/include/llvm/CodeGen/DIE.h index ea7fa2d9131..8e40ef77d37 100644 --- a/include/llvm/CodeGen/DIE.h +++ b/include/llvm/CodeGen/DIE.h @@ -215,11 +215,12 @@ public: isLocList, }; -protected: +private: /// Ty - Type of data stored in the value. /// Type Ty; +protected: explicit DIEValue(Type T) : Ty(T) {} ~DIEValue() {}