From 8ef4be78cd0a4ab02137d87aa5ff5a87e55a521c 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238123 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/DIE.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {}