aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }