llvm.org GIT mirror llvm / d63289b
Reverted r203879. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203880 91177308-0d34-0410-b5e6-96231b3b80d8 Galina Kistanova 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
287287 bool is_previous_hex = false;
288288 for (size_t index = 0; index < len; ++index) {
289289 const wchar_t cur = begin[index];
290 if (is_previous_hex && iswascii(cur) && IsXDigit(static_cast(cur))) {
290 if (is_previous_hex && isascii(cur) && IsXDigit(static_cast(cur))) {
291291 // Previous character is of '\x..' form and this character can be
292292 // interpreted as another hexadecimal digit in its number. Break string to
293293 // disambiguate.