The HasGetNext type trait was cluttered with a few things it didn't
need. Try to clean it up, hoping to fix windows bots:
http://lab.llvm.org:8011/builders/lld-x86_64-win7/builds/38063
I may just have to delete the trait...
llvm-svn: 278537
typedef char No[2];
template <size_t N> struct SFINAE {};
- template <class U, class V>
+ template <class U>
static Yes &hasGetNext(
SFINAE<sizeof(static_cast<NodeT *>(make<U>().getNext(&make<NodeT>())))>
* = 0);
- template <class U, class V> static No &hasGetNext(...);
+ template <class U> static No &hasGetNext(...);
- static const bool value =
- sizeof(hasGetNext<TraitsT, NodeT>(nullptr)) == sizeof(Yes);
+ static const bool value = sizeof(hasGetNext<TraitsT>(nullptr)) == sizeof(Yes);
};
} // end namespace ilist_detail