reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/StringMapTest.cpp
  174   Map["eins"] = 1;
  175   Map["zwei"] = 2;
  176   Map["drei"] = 3;
  177   Map.erase("drei");
  178   Map.erase("eins");
  179   Map["veir"] = 4;
  180   Map["funf"] = 5;
  182   EXPECT_EQ(3u, Map.size());
  183   EXPECT_EQ(0, Map.lookup("eins"));
  184   EXPECT_EQ(2, Map.lookup("zwei"));
  185   EXPECT_EQ(0, Map.lookup("drei"));
  186   EXPECT_EQ(4, Map.lookup("veir"));
  187   EXPECT_EQ(5, Map.lookup("funf"));
  189   llvm::StringMap<int> Map2(Map);