[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSNode.h

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 27 09:15:03 PDT 2004



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DSNode.h updated: 1.44 -> 1.45
---
Log message:

Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++.  Patch contributed by Morten Ofstad!


---
Diffs of the changes:  (+1 -1)

Index: llvm/include/llvm/Analysis/DataStructure/DSNode.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.44 llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.45
--- llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.44	Wed Jul  7 01:29:26 2004
+++ llvm/include/llvm/Analysis/DataStructure/DSNode.h	Wed Oct 27 11:14:50 2004
@@ -47,7 +47,7 @@
   /// doubly-linked ilist in the DSGraph.
   ///
   DSNode *Next, *Prev;
-  friend class ilist_traits<DSNode>;
+  friend struct ilist_traits<DSNode>;
 
   /// Size - The current size of the node.  This should be equal to the size of
   /// the current type record.






More information about the llvm-commits mailing list