[llvm-commits] CVS: llvm/include/Support/STLExtras.h

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 12 22:12:01 PST 2003


Changes in directory llvm/include/Support:

STLExtras.h updated: 1.10 -> 1.11

---
Log message:

Remove needless dependence on boost


---
Diffs of the changes:  (+2 -3)

Index: llvm/include/Support/STLExtras.h
diff -u llvm/include/Support/STLExtras.h:1.10 llvm/include/Support/STLExtras.h:1.11
--- llvm/include/Support/STLExtras.h:1.10	Tue Nov 11 16:41:29 2003
+++ llvm/include/Support/STLExtras.h	Wed Nov 12 22:11:30 2003
@@ -19,7 +19,6 @@
 
 #include <functional>
 #include "Support/iterator"
-#include "boost/type_traits/transform_traits.hpp"
 
 namespace llvm {
 
@@ -260,8 +259,8 @@
 {
   template <typename T1, typename T2>
   struct tier {
-    typedef typename boost::add_reference<T1>::type first_type;
-    typedef typename boost::add_reference<T2>::type second_type;
+    typedef T1 &first_type;
+    typedef T2 &second_type;
 
     first_type first;
     second_type second;





More information about the llvm-commits mailing list