Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with private...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 23 Jun 2014 18:28:53 +0000 (18:28 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 23 Jun 2014 18:28:53 +0000 (18:28 +0000)
commit9dd6fee485b56b25856664a39bfe9f70fba49f0a
treea53bb536d9edce8a5ac3ab9090fb858d2de1bb6b
parent140c6ae97053f7bf0abd0700ed145ae7d6bf4255
Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with private, but non-deleted, move members.

Certain versions of GCC (~4.7) couldn't handle the SFINAE on access
control, but with "= delete" (hidden behind a macro for portability)
this issue is worked around/addressed.

Patch by Agustín Bergé

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211525 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringMap.h
lib/Support/StringMap.cpp
unittests/ADT/StringMapTest.cpp