Disable the StringMapEntry copy constructor, to make sure we
authorChris Lattner <sabre@nondot.org>
Sat, 25 May 2013 22:28:22 +0000 (22:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 May 2013 22:28:22 +0000 (22:28 +0000)
commit03abfc7114ce60ef69c4335c16eb264957340fad
treef09b86a099a0cfa40482f871cd7f578b9777cb8a
parent41b646c127300c6e3b83f1a0bfc49c812110ebf4
Disable the StringMapEntry copy constructor, to make sure we
reject things like: "for (auto Entry : SomeStringMap)".  Previously
this would copy the value but not the tail allocated string data
(the key).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182713 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringMap.h