From b2b6511a96c89c4c4f33d480c03730d799a2ed86 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Sun, 24 May 2015 17:03:15 +0000 Subject: [PATCH] AsmPrinter: Make DIEValue::Ty private, NFC llvm-svn: 238123 --- llvm/include/llvm/CodeGen/DIE.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/DIE.h b/llvm/include/llvm/CodeGen/DIE.h index ea7fa2d..8e40ef7 100644 --- a/llvm/include/llvm/CodeGen/DIE.h +++ b/llvm/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() {} -- 2.7.4