diff --git a/include/Support/STLExtras.h b/include/Support/STLExtras.h index 06a15734a7b..b8e61283ed3 100644 --- a/include/Support/STLExtras.h +++ b/include/Support/STLExtras.h @@ -19,7 +19,6 @@ #include #include "Support/iterator" -#include "boost/type_traits/transform_traits.hpp" namespace llvm { @@ -260,8 +259,8 @@ namespace { template struct tier { - typedef typename boost::add_reference::type first_type; - typedef typename boost::add_reference::type second_type; + typedef T1 &first_type; + typedef T2 &second_type; first_type first; second_type second; diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 06a15734a7b..b8e61283ed3 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -19,7 +19,6 @@ #include #include "Support/iterator" -#include "boost/type_traits/transform_traits.hpp" namespace llvm { @@ -260,8 +259,8 @@ namespace { template struct tier { - typedef typename boost::add_reference::type first_type; - typedef typename boost::add_reference::type second_type; + typedef T1 &first_type; + typedef T2 &second_type; first_type first; second_type second;