diff --git a/include/llvm/ADT/ilist.h b/include/llvm/ADT/ilist.h index 95027f0c29e..43429e9e856 100644 --- a/include/llvm/ADT/ilist.h +++ b/include/llvm/ADT/ilist.h @@ -96,14 +96,13 @@ template struct HasGetNext { typedef char No[2]; template struct SFINAE {}; - template + template static Yes &hasGetNext( SFINAE(make().getNext(&make())))> * = 0); - template static No &hasGetNext(...); + template static No &hasGetNext(...); - static const bool value = - sizeof(hasGetNext(nullptr)) == sizeof(Yes); + static const bool value = sizeof(hasGetNext(nullptr)) == sizeof(Yes); }; } // end namespace ilist_detail