[cfe-commits] r63847 - /cfe/trunk/include/clang/Basic/TargetInfo.h

Chris Lattner sabre at nondot.org
Wed Feb 4 23:27:29 PST 2009


Author: lattner
Date: Thu Feb  5 01:27:29 2009
New Revision: 63847

URL: http://llvm.org/viewvc/llvm-project?rev=63847&view=rev
Log:
privatize some stuff.

Modified:
    cfe/trunk/include/clang/Basic/TargetInfo.h

Modified: cfe/trunk/include/clang/Basic/TargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TargetInfo.h?rev=63847&r1=63846&r2=63847&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/TargetInfo.h (original)
+++ cfe/trunk/include/clang/Basic/TargetInfo.h Thu Feb  5 01:27:29 2009
@@ -70,14 +70,17 @@
     UnsignedLong,
     SignedLongLong,
     UnsignedLongLong
-  } SizeType, IntMaxType, UIntMaxType, PtrDiffType, WCharType;  
-  enum IntType getSizeType() const {return SizeType;}
-  enum IntType getIntMaxType() const {return IntMaxType;}
-  enum IntType getUIntMaxType() const {return UIntMaxType;}
-  enum IntType getPtrDiffType(unsigned AddrSpace) const {
+  };
+protected:
+  IntType SizeType, IntMaxType, UIntMaxType, PtrDiffType, WCharType;
+public:
+  IntType getSizeType() const { return SizeType; }
+  IntType getIntMaxType() const { return IntMaxType; }
+  IntType getUIntMaxType() const { return UIntMaxType; }
+  IntType getPtrDiffType(unsigned AddrSpace) const {
     return AddrSpace == 0 ? PtrDiffType : getPtrDiffTypeV(AddrSpace);
   }
-  enum IntType getWCharType() const {return WCharType;}
+  IntType getWCharType() const { return WCharType; }
 
   /// isCharSigned - Return true if 'char' is 'signed char' or false if it is
   /// treated as 'unsigned char'.  This is implementation defined according to





More information about the cfe-commits mailing list