aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineBasicBlock.h
diff options
context:
space:
mode:
authorCedric Venet <cedric.venet@laposte.net>2008-09-20 18:02:18 +0000
committerCedric Venet <cedric.venet@laposte.net>2008-09-20 18:02:18 +0000
commit8e4018e2de52c534405d7155c7009d0b35afb861 (patch)
treefa25ec89a27252466ac658e4a2a21265031f6744 /include/llvm/CodeGen/MachineBasicBlock.h
parent79faf61fad36c34dd818da1e97a214d70c02e4ce (diff)
Update VS projects.
Change some class to struct for coherency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineBasicBlock.h')
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h
index 8ee75c9c9f..b47108a862 100644
--- a/include/llvm/CodeGen/MachineBasicBlock.h
+++ b/include/llvm/CodeGen/MachineBasicBlock.h
@@ -24,7 +24,8 @@ class BasicBlock;
class MachineFunction;
template <>
-class ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> {
+struct ilist_traits<MachineInstr> : public ilist_default_traits<MachineInstr> {
+private:
mutable MachineInstr Sentinel;
// this is only set by the MachineBasicBlock owning the LiveList
@@ -70,7 +71,7 @@ class MachineBasicBlock : public ilist_node<MachineBasicBlock> {
bool IsLandingPad;
// Intrusive list support
- friend class ilist_sentinel_traits<MachineBasicBlock>;
+ friend struct ilist_sentinel_traits<MachineBasicBlock>;
MachineBasicBlock() {}
explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb);