summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2019-08-20 23:29:28 +0000
committerAndrew Trick <atrick@apple.com>2019-08-20 23:29:28 +0000
commit861b371e1386b6ac1069c9aa3050f7074fb64516 (patch)
tree1964e97d7903fe5b7e90e5139549152bb45620cd /lldb/packages/Python/lldbsuite/test/dotest.py
parent5a7bba09acff4af0314641e6a0a45932ac74a594 (diff)
downloadbcm5719-llvm-861b371e1386b6ac1069c9aa3050f7074fb64516.tar.gz
bcm5719-llvm-861b371e1386b6ac1069c9aa3050f7074fb64516.zip
Add TinyPtrVector support for general pointer-like things.
In particular, make TinyPtrVector<PtrIntPair<T *, 1>> work. Remove all unnecessary assumptions that the element type has a formal "null" representation. The important property to maintain is that default-constructed element type has the same internal representation as the default-constructed PointerUnion (all zero bits). Remove the incorrect recursive behavior from PointerUnion::isNull. This was never generally correct because it only recursed over the first type parameter. With variadic templates it's completely unnecessary. llvm-svn: 369473
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud