[llvm] r238123 - AsmPrinter: Make DIEValue::Ty private, NFC

Duncan P. N. Exon Smith dexonsmith at apple.com
Sun May 24 10:03:15 PDT 2015


Author: dexonsmith
Date: Sun May 24 12:03:15 2015
New Revision: 238123

URL: http://llvm.org/viewvc/llvm-project?rev=238123&view=rev
Log:
AsmPrinter: Make DIEValue::Ty private, NFC

Modified:
    llvm/trunk/include/llvm/CodeGen/DIE.h

Modified: llvm/trunk/include/llvm/CodeGen/DIE.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/DIE.h?rev=238123&r1=238122&r2=238123&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/DIE.h (original)
+++ llvm/trunk/include/llvm/CodeGen/DIE.h Sun May 24 12:03:15 2015
@@ -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() {}
 





More information about the llvm-commits mailing list