Make ilist_traits<MachineBasicBlock>'s Parent member private.
authorDan Gohman <gohman@apple.com>
Tue, 1 Jul 2008 18:13:58 +0000 (18:13 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 1 Jul 2008 18:13:58 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52974 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineFunction.h

index 97027da7d67999c1d21da82b16016c8cc1a592e2..ad4f1d120c90635f8ab868da02c06d144b69f9b7 100644 (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;