diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2018-07-19 22:29:47 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2018-07-19 22:29:47 +0000 |
| commit | 6acb8cee05f3917f0539f3451caee3c0ab66a4bf (patch) | |
| tree | d9b387553c8e16a2502ada42842856f99d1bdb33 /libcxx/test/std/depr | |
| parent | 0c432b1a70d29e60c3428198dd6dba9ebcc91851 (diff) | |
| download | bcm5719-llvm-6acb8cee05f3917f0539f3451caee3c0ab66a4bf.tar.gz bcm5719-llvm-6acb8cee05f3917f0539f3451caee3c0ab66a4bf.zip | |
ADT: Shrink size of SmallVector by 8B on 64-bit platforms
Representing size and capacity directly as unsigned and calculate
`end()` using `begin() + size()`.
This limits the maximum size/capacity of a vector to UINT32_MAX.
https://reviews.llvm.org/D48518
llvm-svn: 337504
Diffstat (limited to 'libcxx/test/std/depr')
0 files changed, 0 insertions, 0 deletions

