add a new method, getPreferredAlignmentLog.
[oota-llvm.git] / include / llvm / SymbolTableListTraits.h
index 820f391d40b9b7580de1738b287bc9bd10d6f13e..969c03fc55029cc63ebbfa3be432a52edc5f23c1 100644 (file)
@@ -1,10 +1,10 @@
 //===-- llvm/SymbolTableListTraits.h - Traits for iplist --------*- C++ -*-===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
 // This file was developed by the LLVM research group and is distributed under
 // the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+//
 //===----------------------------------------------------------------------===//
 //
 // This file defines a generic class that is used to implement the automatic
@@ -25,6 +25,8 @@
 #ifndef LLVM_SYMBOLTABLELISTTRAITS_H
 #define LLVM_SYMBOLTABLELISTTRAITS_H
 
+namespace llvm {
+
 template<typename NodeTy> class ilist_iterator;
 template<typename NodeTy, typename Traits> class iplist;
 template<typename Ty> struct ilist_traits;
@@ -62,7 +64,7 @@ public:
 
   void addNodeToList(ValueSubClass *V);
   void removeNodeFromList(ValueSubClass *V);
-  void transferNodesFromList(iplist<ValueSubClass, 
+  void transferNodesFromList(iplist<ValueSubClass,
                              ilist_traits<ValueSubClass> > &L2,
                              ilist_iterator<ValueSubClass> first,
                              ilist_iterator<ValueSubClass> last);
@@ -72,4 +74,6 @@ public:
   void setParent(SymTabClass *Parent);  // This is private!
 };
 
+} // End llvm namespace
+
 #endif