Commit History

Author SHA1 Message Date
  Serge Pavlov 165fd931ac Revert r325224 "Report fatal error in the case of out of memory" 7 years ago
  Serge Pavlov ca451d02e4 Report fatal error in the case of out of memory 7 years ago
  Matthias Braun 01337d5a14 Support, IR, ADT: Check nullptr after allocation with malloc/realloc or calloc 8 years ago
  Eugene Zelenko 9feaa97ada Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes. 9 years ago
  Mehdi Amini bf941ea066 Adjust initial size in StringMap constructor to guarantee no grow() 9 years ago
  Benjamin Kramer 42f72e2c16 Sync the __builtin_expects for our 3 quadratically probed hash table implementations. 10 years ago
  David Blaikie 9dd6fee485 Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with private, but non-deleted, move members. 11 years ago
  Rafael Espindola 6fda71e05e Revert "Add StringMap::insert(pair) consistent with the standard associative container concept." 11 years ago
  David Blaikie 4110a7ac7a Add StringMap::insert(pair) consistent with the standard associative container concept. 11 years ago
  Craig Topper 725011e72f [C++11] Replace some comparisons with 'nullptr' with simple boolean checks to reduce verbosity. 11 years ago
  Craig Topper 34bc6b6e78 [C++11] Make use of 'nullptr' in the Support library. 11 years ago
  Benjamin Kramer e160c53fbe Add some __builtin_expect magic to StringMap. 13 years ago
  Chandler Carruth 2a79116940 Fix PR13148, an inf-loop in StringMap. 13 years ago
  Benjamin Kramer c894b02ae0 Switch StringMap from an array of structures to a structure of arrays. 13 years ago
  Jakob Stoklund Olesen 03ef449917 Reset StringMap's NumTombstones on clears and rehashes. 14 years ago
  Jakob Stoklund Olesen aea4fe2862 Prevent infinite growth of SmallMap instances. 14 years ago
  Jeffrey Yasskin 8e68c38735 Change all self assignments X=X to (void)X, so that we can turn on a 14 years ago
  Daniel Dunbar 2928c83b01 Pass StringRef by value. 16 years ago
  Daniel Dunbar 4dee7fd2c2 Move StringMap's string has function into StringExtras.h 16 years ago
  Daniel Dunbar 6316fbcb04 Convert StringMap to using StringRef for its APIs. 16 years ago
  Chris Lattner 4ee451de36 Remove attribution from file headers, per discussion on llvmdev. 17 years ago
  Chris Lattner 12ba806c5d stringmap memory managed with malloc now 18 years ago
  Chris Lattner d2f197da59 use calloc instead of new/memset, it is more efficient 18 years ago
  Chris Lattner 794a014809 Extend StringMap to support being initialized as completely empty. When 18 years ago
  Chris Lattner ef4c916193 greatly reduce hte default size of stringmap. 18 years ago
  Chris Lattner 44dcd01cb3 Add support for removing elements out of StringMap. 18 years ago
  Chris Lattner b5bb9f5b5c Replace the ugly FindValue method with STL-like find methods. 18 years ago
  Chris Lattner 360cac8fef remove support for stringmap visitors now that iterators exist. 18 years ago
  Chris Lattner a86559ec42 add support for iterators. 18 years ago
  Chris Lattner bb28a81ba3 Rename CStringMap -> StringMap, since it now supports nul characters in the 18 years ago