forked from OSchip/llvm-project
do not close friendship with every odd class
llvm-svn: 66229
This commit is contained in:
parent
5fd4fc76bf
commit
b3805878d1
|
@ -77,7 +77,6 @@ class MachineBasicBlock : public ilist_node<MachineBasicBlock> {
|
||||||
bool IsLandingPad;
|
bool IsLandingPad;
|
||||||
|
|
||||||
// Intrusive list support
|
// Intrusive list support
|
||||||
friend struct ilist_sentinel_traits<MachineBasicBlock>;
|
|
||||||
MachineBasicBlock() {}
|
MachineBasicBlock() {}
|
||||||
|
|
||||||
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);
|
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);
|
||||||
|
|
|
@ -55,7 +55,6 @@ class MachineInstr : public ilist_node<MachineInstr> {
|
||||||
// Intrusive list support
|
// Intrusive list support
|
||||||
friend struct ilist_traits<MachineInstr>;
|
friend struct ilist_traits<MachineInstr>;
|
||||||
friend struct ilist_traits<MachineBasicBlock>;
|
friend struct ilist_traits<MachineBasicBlock>;
|
||||||
friend struct ilist_sentinel_traits<MachineInstr>;
|
|
||||||
void setParent(MachineBasicBlock *P) { Parent = P; }
|
void setParent(MachineBasicBlock *P) { Parent = P; }
|
||||||
|
|
||||||
/// MachineInstr ctor - This constructor creates a copy of the given
|
/// MachineInstr ctor - This constructor creates a copy of the given
|
||||||
|
|
Loading…
Reference in New Issue