AsmPrinter: Make DIEValue::Ty private, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 17:03:15 +0000 (17:03 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 17:03:15 +0000 (17:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238123 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/DIE.h

index ea7fa2d91315eb02eb132f6f5e8835df51798e9b..8e40ef77d374f5457423412e1dbbc42f8b91b099 100644 (file)
@@ -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() {}