From 7b1dcdfce1b199f314df3de697c791fde38b175e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 2 Aug 2009 00:04:12 +0000 Subject: [PATCH] make SectionKind::Kind completely private now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77836 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/SectionKind.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/llvm/MC/SectionKind.h b/include/llvm/MC/SectionKind.h index 7841df80fae..7d4e40d39ca 100644 --- a/include/llvm/MC/SectionKind.h +++ b/include/llvm/MC/SectionKind.h @@ -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; }