make SectionKind::Kind completely private now.
authorChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 00:04:12 +0000 (00:04 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 2 Aug 2009 00:04:12 +0000 (00:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77836 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/SectionKind.h

index 7841df80faea355cbc06af7b5befd28d06c27487..7d4e40d39caac8f7a4cf92797c93557f5a876272 100644 (file)
@@ -26,7 +26,6 @@ namespace llvm {
 /// in order to explain the predicates below.
 ///
 class SectionKind {
-public:
   enum Kind {
     /// Metadata - Debug info sections or other metadata.
     Metadata,
@@ -113,10 +112,7 @@ public:
                /// linked image.
                ReadOnlyWithRelLocal
     
-  };
-  
-protected:
-  Kind K : 8;
+  } K : 8;
 public:
   
   bool isMetadata() const { return K == Metadata; }