Tweak an _MSC_VER ifdef to use typename with clang in a unittest
authorReid Kleckner <reid@kleckner.net>
Thu, 13 Feb 2014 19:51:13 +0000 (19:51 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 13 Feb 2014 19:51:13 +0000 (19:51 +0000)
commit0f679177e141868dfa4aa4aab23f10a0c67c3340
tree216b2585b0ca39bfb9f62a708d762157ae764bdf
parent6bb55ba42b02fb7cd1ec10d005a4c8611c312370
Tweak an _MSC_VER ifdef to use typename with clang in a unittest

In theory, Clang should figure out how to parse this correctly without
typename, but since this is the last TU that Clang falls back on in the
self-host, I'm going to compromise and check for __clang__.

And now Clang can self-host on -win32 without fallback!  The 'check' and
'check-clang' targets both pass.

llvm-svn: 201358
llvm/unittests/ADT/DenseMapTest.cpp