mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-01 07:41:40 +00:00
Hide type trait from r278532 from MSVC
The fixup from r278537 was insufficient. Just #ifdef it out for MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278539 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a33b92eb82
commit
f74d382784
@ -390,8 +390,12 @@ template<typename NodeTy> struct simplify_type<const ilist_iterator<NodeTy> > {
|
||||
///
|
||||
template <typename NodeTy, typename Traits = ilist_traits<NodeTy>>
|
||||
class iplist : public Traits, ilist_node_access {
|
||||
#if !defined(_MSC_VER)
|
||||
// FIXME: This fails in MSVC, but it's worth keeping around to help
|
||||
// non-Windows users root out bugs in their ilist_traits.
|
||||
static_assert(!ilist_detail::HasGetNext<Traits, NodeTy>::value,
|
||||
"ilist next and prev links are not customizable!");
|
||||
#endif
|
||||
|
||||
mutable NodeTy *Head;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user