aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/DenseMapTest.cpp
AgeCommit message (Expand)AuthorFilesLines
14 days[ADT] Fix a warningKazu Hirata1-4/+0
14 daysDenseMapInfo: support std::optional<T> (#147851)Elijah Kin1-1/+12
2025-05-28[DenseMap] Fix constness issues with lookup_or (#139247)Ramkumar Ramachandra1-0/+7
2025-05-08[DenseMap] Introduce emplace_or_assign (#138886)Ramkumar Ramachandra1-0/+35
2025-05-08[DenseMap] Introduce lookup_or (#138887)Ramkumar Ramachandra1-0/+20
2025-05-07[DenseMap] Introduce keys, values iterators (#138848)Ramkumar Ramachandra1-0/+46
2025-03-30[ADT] Add `DenseMap::insert_range` (#133600)Baranov Victor1-0/+22
2024-06-19DenseMap: support enum class keys (#95972)Ramkumar Ramachandra1-2/+14
2024-06-05[ADT] Add C++17-style insert_or_assign for DenseMap (#94151)c8ef1-0/+36
2024-06-04[ADT] refactor MoveOnly type in ADT unittest (#94421)c8ef1-41/+17
2023-06-28[unittest] teach gTest to print entries of DenseMap as pairsSam McCall1-0/+9
2023-06-22[llvm] Split out DenseMapInfo<variant> specializationElliot Goodrich1-0/+1
2023-06-06[ADT] Fix DenseMapInfo<variant>::isEqual to delegate to DenseMapInfo, not ==Sam McCall1-1/+19
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-7/+8
2023-02-17[ADT] Add `at` method (assertive lookup) to DenseMap and StringMapRyan Guo1-0/+8
2022-12-08[llvm] Call reserve before push_back in a loopGregory Alfonso1-0/+1
2022-11-08Reland "[llvm][NFC] Use c++17 style variable type traits"Nathan James1-1/+1
2022-11-08Revert "[llvm][NFC] Use c++17 style variable type traits"Nathan James1-1/+1
2022-11-08[llvm][NFC] Use c++17 style variable type traitsNathan James1-1/+1
2022-09-02[llvm][Support] Add DenseMapInfo for std::variantKadir Cetinkaya1-0/+18
2022-07-25Fix assertion in SmallDenseMap constructor with reserve from non-power-of-2 b...Vladislav Dzhidzhoev1-0/+9
2021-11-16[llvm] Add a SFINAE template parameter to DenseMapInfoRiver Riddle1-0/+43
2021-07-21[ADT] Add initializer_list constructor to SmallDenseMapJakub Kuderski1-0/+9
2021-05-17Put back the trailing commas on TYPED_TEST_SUITEBenjamin Kramer1-1/+1
2021-05-14Bump googletest to 1.10.0Benjamin Kramer1-1/+1
2020-02-28[ADT] Allow K to be incomplete during DenseMap<K*, V> instantiationReid Kleckner1-0/+24
2019-12-11[ADT] Fix SmallDenseMap assertion with large InlineBucketsNikita Popov1-0/+18
2019-07-09[ADT] Remove MSVC-only "no two-phase name lookup" typename path.Simon Pilgrim1-9/+0
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-10-15[ADT] Adds equality operators for DenseMap and DenseSet, and an initializer_listLang Hames1-0/+20
2018-05-01Remove \brief commands from doxygen comments.Adrian Prantl1-1/+1
2018-04-07[unittests] ADT: silence -Wself-assign diagnosticsRoman Lebedev1-2/+2
2018-01-24Fix typos of occurred and occurrenceMalcolm Parsons1-5/+5
2017-06-06Re-sort #include lines for unittests. This uses a slightly modifiedChandler Carruth1-1/+1
2017-03-10Add support for DenseMap/DenseSet count and find using const pointersDaniel Berlin1-0/+14
2016-10-18[ADT] Remove CachedHash<T>.Justin Lebar1-49/+0
2016-07-21[DenseMap] Add a C++17-style try_emplace method.Benjamin Kramer1-0/+10
2016-04-21Add a CachedHash structure.Rafael Espindola1-0/+49
2016-03-25StringMap/DenseMap unittests: use piecewise_construct and ensure no copy occurs.Mehdi Amini1-11/+16
2016-03-25Disable counting the number of move in the unittest, it seems to rely on move...Mehdi Amini1-3/+6
2016-03-25Fix DenseMap::reserve(): the formula was wrongMehdi Amini1-7/+118
2016-03-22Fix unittests: resize() -> reserve()Mehdi Amini1-1/+1
2016-03-15DenseMap: make .resize() do the intuitive thingFiona Glaser1-0/+13
2015-10-31Add a unittest for SmallDenseMap that tests assigning a SmallDenseMap when it...Michael Gottesman1-0/+16
2015-06-24[ADT] Teach DenseMap to support StringRef keys.Chandler Carruth1-0/+25
2015-03-04Explicitly default DenseMapTest::CtorTest::operator=David Blaikie1-0/+1
2015-03-03Revert "Remove the explicit SDNodeIterator::operator= in favor of the implici...David Blaikie1-1/+0
2015-03-03Remove the explicit SDNodeIterator::operator= in favor of the implicit defaultDavid Blaikie1-0/+1
2014-08-04Fix SmallDenseMap assignment operator.Andrew Trick1-0/+5