From b3805878d13eab23ab99b01f8a914d9e08a17cc9 Mon Sep 17 00:00:00 2001 From: Gabor Greif Date: Fri, 6 Mar 2009 01:09:27 +0000 Subject: [PATCH] do not close friendship with every odd class llvm-svn: 66229 --- llvm/include/llvm/CodeGen/MachineBasicBlock.h | 1 - llvm/include/llvm/CodeGen/MachineInstr.h | 1 - 2 files changed, 2 deletions(-) diff --git a/llvm/include/llvm/CodeGen/MachineBasicBlock.h b/llvm/include/llvm/CodeGen/MachineBasicBlock.h index 388ca7f93b41..56b96ea872aa 100644 --- a/llvm/include/llvm/CodeGen/MachineBasicBlock.h +++ b/llvm/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/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h index 2a3f98dbc5bd..668c4b3635e4 100644 --- a/llvm/include/llvm/CodeGen/MachineInstr.h +++ b/llvm/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