Make ilist_traits<MachineBasicBlock>'s Parent member private.

llvm-svn: 52974
This commit is contained in:
Dan Gohman 2008-07-01 18:13:58 +00:00
parent 9d5c1f8b60
commit ca864de95a

View File

@ -32,7 +32,7 @@ class MachineJumpTableInfo;
// ilist_traits
template <>
struct ilist_traits<MachineBasicBlock> {
class ilist_traits<MachineBasicBlock> {
// this is only set by the MachineFunction owning the ilist
friend class MachineFunction;
MachineFunction* Parent;