Make ilist_traits<MachineBasicBlock>'s Parent member private.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52974 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-07-01 18:13:58 +00:00
parent 94f9c7dc97
commit 8458f5d45b

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;