mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
add a friend needed by a stringmap change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5d9789a7f
commit
e20e790074
@ -105,12 +105,14 @@ namespace llvm {
|
||||
class Section {
|
||||
friend class TargetAsmInfo;
|
||||
friend class StringMapEntry<Section>;
|
||||
friend class StringMap<Section>;
|
||||
|
||||
std::string Name;
|
||||
unsigned Flags;
|
||||
|
||||
explicit Section(unsigned F = SectionFlags::Invalid):Flags(F) { }
|
||||
|
||||
public:
|
||||
|
||||
bool isNamed() const { return Flags & SectionFlags::Named; }
|
||||
unsigned getEntitySize() const { return (Flags >> 24) & 0xFF; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user