commit | 9f4f2215b711d32a74457c30d7428cde86fca2da | [log] [tgz] |
---|---|---|
author | Eric Fiselier <eric@efcs.ca> | Tue Mar 10 00:25:20 2015 +0000 |
committer | Eric Fiselier <eric@efcs.ca> | Tue Mar 10 00:25:20 2015 +0000 |
tree | 2ae5debe819a26a9949a113dc136a71ed27d1ec7 | |
parent | 131219802f018b3b739a8fe57c79ccfdd9ecaa23 [diff] |
[libcxx] Fix __RAII_IncreaseAnnotator for increases >= 1 Summary: Fix suggested by @mclow.lists on D8109. Store the size of the un-poisoned vector upon construction instead of calculating it later. Reviewers: titus, mclow.lists, kcc, EricWF Reviewed By: EricWF Subscribers: mclow.lists, cfe-commits Differential Revision: http://reviews.llvm.org/D8172 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231729 91177308-0d34-0410-b5e6-96231b3b80d8