aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-01 18:13:58 +0000
committerDan Gohman <gohman@apple.com>2008-07-01 18:13:58 +0000
commit8458f5d45bcd75a7d5ba6d2406088ead4c94ea8f (patch)
treec1db4b804e144bb3f0e73003127f1b1a4c6728cc /include/llvm/CodeGen/MachineFunction.h
parent94f9c7dc97bc586e01c101e9fcfeb93c2fb4bd87 (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
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 97027da7d6..ad4f1d120c 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -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;