diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2013-11-06 14:24:38 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2013-11-06 14:24:38 +0000 |
| commit | e42732232752f9c4b099cd15f23d0c319e9e3c38 (patch) | |
| tree | 08ff4227c0937b7d83a34fb8e8c1f74c132f61a2 /llvm/lib | |
| parent | 10e316a68ec247f01a9a6fb33e83ff7d630aa4a9 (diff) | |
| download | bcm5719-llvm-e42732232752f9c4b099cd15f23d0c319e9e3c38.tar.gz bcm5719-llvm-e42732232752f9c4b099cd15f23d0c319e9e3c38.zip | |
Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1
llvm-svn: 194151
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

