summaryrefslogtreecommitdiff
path: root/include/llvm/MC/SectionKind.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 00:04:12 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 00:04:12 +0000
commit7b1dcdfce1b199f314df3de697c791fde38b175e (patch)
treee86cc411f573b24d25e35f5ef05882d08b0c7279 /include/llvm/MC/SectionKind.h
parent1ef9be28831ad2d0b16d9934dc65c98e17b429a7 (diff)
downloadllvm-7b1dcdfce1b199f314df3de697c791fde38b175e.tar.gz
llvm-7b1dcdfce1b199f314df3de697c791fde38b175e.tar.bz2
llvm-7b1dcdfce1b199f314df3de697c791fde38b175e.tar.xz
make SectionKind::Kind completely private now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/SectionKind.h')
-rw-r--r--include/llvm/MC/SectionKind.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/MC/SectionKind.h b/include/llvm/MC/SectionKind.h
index 7841df80fa..7d4e40d39c 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; }