From d63289bc9a905200ad1e4be1821c792b0a2ff971 Mon Sep 17 00:00:00 2001 From: Galina Kistanova Date: Fri, 14 Mar 2014 01:56:55 +0000 Subject: [PATCH] Reverted r203879. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203880 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/unittest/googletest/src/gtest-printers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/unittest/googletest/src/gtest-printers.cc b/utils/unittest/googletest/src/gtest-printers.cc index 2266415762b..205a39425f0 100644 --- a/utils/unittest/googletest/src/gtest-printers.cc +++ b/utils/unittest/googletest/src/gtest-printers.cc @@ -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(cur))) { + if (is_previous_hex && isascii(cur) && IsXDigit(static_cast(cur))) { // Previous character is of '\x..' form and this character can be // interpreted as another hexadecimal digit in its number. Break string to // disambiguate.