mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:29:58 +00:00
Reverted r203879.
llvm-svn: 203880
This commit is contained in:
parent
7a7e1d0d7f
commit
a75672b65c
@ -288,7 +288,7 @@ static void PrintWideCharsAsStringTo(const wchar_t* begin, size_t len,
|
||||
bool is_previous_hex = false;
|
||||
for (size_t index = 0; index < len; ++index) {
|
||||
const wchar_t cur = begin[index];
|
||||
if (is_previous_hex && iswascii(cur) && IsXDigit(static_cast<char>(cur))) {
|
||||
if (is_previous_hex && isascii(cur) && IsXDigit(static_cast<char>(cur))) {
|
||||
// Previous character is of '\x..' form and this character can be
|
||||
// interpreted as another hexadecimal digit in its number. Break string to
|
||||
// disambiguate.
|
||||
|
Loading…
Reference in New Issue
Block a user