mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
Make the kind actually be private.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2ceb60a677
commit
37939c910f
@ -124,10 +124,10 @@ namespace llvm {
|
||||
|
||||
};
|
||||
|
||||
//private:
|
||||
Kind K : 8; // This is private.
|
||||
private:
|
||||
Kind K : 8;
|
||||
|
||||
//public:
|
||||
public:
|
||||
|
||||
bool isText() const {
|
||||
return K == Text;
|
||||
@ -183,7 +183,8 @@ namespace llvm {
|
||||
}
|
||||
|
||||
static SectionKind get(Kind K) {
|
||||
SectionKind Res = { K };
|
||||
SectionKind Res;
|
||||
Res.K = K;
|
||||
return Res;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user