[llvm-commits] [llvm] r77836 - /llvm/trunk/include/llvm/MC/SectionKind.h
Chris Lattner
sabre at nondot.org
Sat Aug 1 17:04:12 PDT 2009
Author: lattner
Date: Sat Aug 1 19:04:12 2009
New Revision: 77836
URL: http://llvm.org/viewvc/llvm-project?rev=77836&view=rev
Log:
make SectionKind::Kind completely private now.
Modified:
llvm/trunk/include/llvm/MC/SectionKind.h
Modified: llvm/trunk/include/llvm/MC/SectionKind.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/SectionKind.h?rev=77836&r1=77835&r2=77836&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/SectionKind.h (original)
+++ llvm/trunk/include/llvm/MC/SectionKind.h Sat Aug 1 19:04:12 2009
@@ -26,7 +26,6 @@
/// in order to explain the predicates below.
///
class SectionKind {
-public:
enum Kind {
/// Metadata - Debug info sections or other metadata.
Metadata,
@@ -113,10 +112,7 @@
/// linked image.
ReadOnlyWithRelLocal
- };
-
-protected:
- Kind K : 8;
+ } K : 8;
public:
bool isMetadata() const { return K == Metadata; }
More information about the llvm-commits
mailing list