From: Gabor Greif Date: Fri, 6 Mar 2009 01:09:27 +0000 (+0000) Subject: do not close friendship with every odd class X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=abab81f42029c5848a6b66ed8594713ac5e3d5f4;p=oota-llvm.git do not close friendship with every odd class git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 388ca7f93b4..56b96ea872a 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -77,7 +77,6 @@ class MachineBasicBlock : public ilist_node { bool IsLandingPad; // Intrusive list support - friend struct ilist_sentinel_traits; MachineBasicBlock() {} explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb); diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 2a3f98dbc5b..668c4b3635e 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -55,7 +55,6 @@ class MachineInstr : public ilist_node { // Intrusive list support friend struct ilist_traits; friend struct ilist_traits; - friend struct ilist_sentinel_traits; void setParent(MachineBasicBlock *P) { Parent = P; } /// MachineInstr ctor - This constructor creates a copy of the given