mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +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