summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc/TestContextObjectObjc.py
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2019-10-10 20:22:53 +0000
committerJordan Rose <jordan_rose@apple.com>2019-10-10 20:22:53 +0000
commitaab67b571a3dc984d8990fdb05285c76b11f83d6 (patch)
tree745c5a9a6b1f9d590bb5527fea9a95ee01632948 /lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc/TestContextObjectObjc.py
parent2f56266234e55b12437c800327c96a65e305bf08 (diff)
downloadbcm5719-llvm-aab67b571a3dc984d8990fdb05285c76b11f83d6.tar.gz
bcm5719-llvm-aab67b571a3dc984d8990fdb05285c76b11f83d6.zip
ADT: Save a word in every StringSet entry
Add a specialization to StringMap (actually StringMapEntry) for a value type of NoneType (the type of llvm::None), and use it for StringSet. This'll save us a word from every entry in a StringSet, used for alignment with the size_t that stores the string length. I could have gone all the way to some kind of empty base class optimization, but that seemed like overkill. Someone can consider adding that in the future, though. https://reviews.llvm.org/D68586 llvm-svn: 374440
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/context-object-objc/TestContextObjectObjc.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud