[PATCH] [libcxx] Optimize vectors uninitialized construction of trivial types from an iterator range.
Marshall Clow
mclow.lists at gmail.com
Fri Mar 6 11:28:44 PST 2015
================
Comment at: include/vector:1029
@@ -1034,1 +1028,3 @@
+ __alloc_traits::__construct_range_forward(__a, __first, __last, this->__end_);
+ __annotator.__done();
}
----------------
This is not exception safe.
If one of the constructions throws, then the ASAN annotations will be wrong.
http://reviews.llvm.org/D8109
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list