Add StringMap::insert(pair) consistent with the standard associative container concept.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Jun 2014 20:08:56 +0000 (20:08 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 19 Jun 2014 20:08:56 +0000 (20:08 +0000)
commit4110a7ac7ac9f5814b6828e498efdb3e75110f66
tree86f40c119d9305e45d66982e4abf5f834f66d421
parent594f05c8dae6ec0b08694a1d439aee8bca18a47d
Add StringMap::insert(pair) consistent with the standard associative container concept.

Patch by Agustín Bergé.

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