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