diff options
author | Andrew Trick <atrick@apple.com> | 2019-08-20 23:29:28 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2019-08-20 23:29:28 +0000 |
commit | 861b371e1386b6ac1069c9aa3050f7074fb64516 (patch) | |
tree | 1964e97d7903fe5b7e90e5139549152bb45620cd /lldb/packages/Python/lldbsuite/test/dotest.py | |
parent | 5a7bba09acff4af0314641e6a0a45932ac74a594 (diff) | |
download | bcm5719-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