commit | 8458f5d45bcd75a7d5ba6d2406088ead4c94ea8f | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Jul 01 18:13:58 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Jul 01 18:13:58 2008 +0000 |
tree | c1db4b804e144bb3f0e73003127f1b1a4c6728cc | |
parent | 94f9c7dc97bc586e01c101e9fcfeb93c2fb4bd87 [diff] |
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
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 97027da..ad4f1d1 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h
@@ -32,7 +32,7 @@ // 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;