Files
clang-p2996/libcxx/include
Eric Fiselier 84a2dadcee Disable unsigned integer sanitizer for basic_string::replace(). Patch from tomcherry@google.com
basic_string::replace() has the below line

__sz += __n2 - __n1;

which fails overflow checks if __n1 > __n2, as the negative result
from the subtraction then overflows the original __sz when added to
it.

This behavior is valid as unsigned integer overflow is defined to wrap
around the maximum value and that produces the correct final value for
__sz.  Therefore, we disable this check on this function.

llvm-svn: 297355
2017-03-09 01:54:13 +00:00
..
2017-01-13 18:29:56 +00:00
2016-12-31 18:13:34 +00:00
2017-02-04 20:27:46 +00:00
2017-02-17 23:08:44 +00:00
2017-01-13 18:25:13 +00:00
2016-10-10 15:56:01 +00:00
2016-12-23 23:37:52 +00:00