[llvm-commits] [llvm] r52974 - /llvm/trunk/include/llvm/CodeGen/MachineFunction.h

Dan Gohman gohman at apple.com
Tue Jul 1 11:13:58 PDT 2008


Author: djg
Date: Tue Jul  1 13:13:58 2008
New Revision: 52974

URL: http://llvm.org/viewvc/llvm-project?rev=52974&view=rev
Log:
Make ilist_traits<MachineBasicBlock>'s Parent member private.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineFunction.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=52974&r1=52973&r2=52974&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Tue Jul  1 13:13:58 2008
@@ -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;





More information about the llvm-commits mailing list