aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringMapTest.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-08-31[ADT] Refactor StringMap iterators (NFC) (#156137)Kazu Hirata1-0/+54
2024-11-02[llvm][ADT] Structured bindings for move-only types in `StringMap` (#114676)Jan Svoboda1-0/+23
2024-02-02Reapply "[ADT][StringMap] Add ability to precompute and reuse the string hash"David Blaikie1-0/+11
2023-12-14Revert "[ADT][StringMap] Add ability to precompute and reuse the string hash"David Blaikie1-11/+0
2023-12-12[ADT][StringMap] Add ability to precompute and reuse the string hashDavid Blaikie1-0/+11
2023-03-13[ADT] Implement {DenseMap,MapVector,StringMap}::containsKazu Hirata1-0/+2
2023-02-17[ADT] Fix tests for `StringMap::at` and `DenseMap::at`Ryan Guo1-5/+1
2023-02-17[ADT] Add `at` method (assertive lookup) to DenseMap and StringMapRyan Guo1-0/+16
2022-12-25[NFC][ADT] Rename StringMapEntry *Create() into StringMapEntry *create.Alexey Lapshin1-4/+4
2022-12-04[ADT] Enable structured bindings for iterating StringMapBenjamin Kramer1-0/+10
2022-08-29[llvm][ADT] Fix formatting for files relevant to `StringMap`.Wei Yi Tee1-18/+14
2022-08-29Revert "[llvm][ADT] Fix formatting for files relevant to `StringMap`."Wei Yi Tee1-14/+18
2022-08-29[llvm][ADT] Fix formatting for files relevant to `StringMap`.Wei Yi Tee1-18/+14
2022-07-12[ADT] Use Empty Base Optimization for AllocatorsNathan James1-0/+4
2022-01-24Move STLFunctionalExtras out of STLExtrasserge-sans-paille1-0/+1
2021-09-02Reland "Try to unbreak Win build differently after 973519826edb76""Nico Weber1-1/+15
2021-09-02Revert "Try to unbreak Win build differently after 973519826edb76"Geoffrey Martin-Noble1-15/+1
2021-09-02Try to unbreak Win build differently after 973519826edb76Nico Weber1-1/+15
2021-09-02[clang-cl] Emit nicer warning on unknown /arch: argumentsNico Weber1-0/+7
2020-06-19[clang-tidy] remove duplicate fixes of alias checkersDaniel1-0/+64
2020-05-02[Allocator] Make Deallocate() pass alignment and make it use (de)allocate_bufferBenjamin Kramer1-1/+1
2020-04-12clang format one more line.Chris Lattner1-1/+1
2020-04-12NFC: Clean up the implementation of StringPool a bit, and remove dependence o...Chris Lattner1-5/+7
2019-09-25[ADT] Add StringMap::insert_or_assignFangrui Song1-0/+31
2019-06-07[ADT] Enable set_difference() to be used on StringSetMichael Pozulp1-15/+0
2019-06-07Revert "[ADT] Enable set_difference() to be used on StringSet"Vlad Tsyrklevich1-0/+15
2019-06-07[ADT] Enable set_difference() to be used on StringSetMichael Pozulp1-15/+0
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-09-27llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...)Fangrui Song1-2/+2
2018-04-07[unittests] Change std::sort to llvm::sort in response to r327219Mandeep Singh Grang1-2/+2
2018-01-11Use size_t to represent the size of a StringMapEntry length and alignment rat...Aaron Ballman1-0/+40
2017-03-31Spelling mistakes in comments. NFCI.Simon Pilgrim1-1/+1
2017-03-21Resubmit "Improve StringMap iterator support."Zachary Turner1-0/+29
2017-03-21Revert "Improve StringMap iterator support."Zachary Turner1-29/+0
2017-03-21Improve StringMap iterator support.Zachary Turner1-0/+29
2016-07-21Rename StringMap::emplace_second to try_emplace.Benjamin Kramer1-1/+1
2016-04-16Remove some unneeded headers and replace some headers with forward class decl...Mehdi Amini1-1/+2
2016-03-30Add a copy constructor to StringMapHal Finkel1-0/+27
2016-03-25StringMap/DenseMap unittests: use piecewise_construct and ensure no copy occurs.Mehdi Amini1-11/+6
2016-03-25Improve StringMap unittests: reintroduce move count, but shield against std::...Mehdi Amini1-5/+12
2016-03-25Ensure that the StringMap does not grow during the test for pre-allocation/re...Mehdi Amini1-0/+3
2016-03-25Disable counting the number of move in the unittest, it seems to rely on move...Mehdi Amini1-1/+3
2016-03-25Query the StringMap only once when creating MDString (NFC)Mehdi Amini1-14/+47
2016-03-25Adjust initial size in StringMap constructor to guarantee no grow()Mehdi Amini1-3/+42
2015-02-15Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requirin...Aaron Ballman1-4/+4
2014-11-19Remove StringMap::GetOrCreateValue in favor of StringMap::insertDavid Blaikie1-6/+4
2014-11-14StringMap: Test and finish off supporting perfectly forwarded values in Strin...David Blaikie1-1/+15
2014-06-23Recommit 211309 (StringMap::insert), reverted in 211328 due to issues with pr...David Blaikie1-2/+40
2014-06-20Revert "Add StringMap::insert(pair) consistent with the standard associative ...Rafael Espindola1-38/+0
2014-06-19Add StringMap::insert(pair) consistent with the standard associative containe...David Blaikie1-0/+38