[Allocator] MSVC apparantly has broken SFINAE context handling of
authorChandler Carruth <chandlerc@gmail.com>
Tue, 15 Apr 2014 08:02:29 +0000 (08:02 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 15 Apr 2014 08:02:29 +0000 (08:02 +0000)
commit2c9a974b2b7f40205960a91b1dd10d58510de992
tree133341e1def21486e25cffa9779e302ca325637a
parentd63390cba15f10600d550201f2e9109e75933a0f
[Allocator] MSVC apparantly has broken SFINAE context handling of
'sizeof(T)' for T == void and produces a hard error. I cannot fathom why
this is OK. Oh well. switch to an explicit test for being the
(potentially qualified) void type, which is the only specific case I was
worried about. Hopefully this survives the libstdc++ build bots which
have limited type traits implementations...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206256 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Allocator.h