[llvm] r203880 - Reverted r203879.
Galina Kistanova
gkistanova at gmail.com
Thu Mar 13 18:56:56 PDT 2014
Author: gkistanova
Date: Thu Mar 13 20:56:55 2014
New Revision: 203880
URL: http://llvm.org/viewvc/llvm-project?rev=203880&view=rev
Log:
Reverted r203879.
Modified:
llvm/trunk/utils/unittest/googletest/src/gtest-printers.cc
Modified: llvm/trunk/utils/unittest/googletest/src/gtest-printers.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/src/gtest-printers.cc?rev=203880&r1=203879&r2=203880&view=diff
==============================================================================
--- llvm/trunk/utils/unittest/googletest/src/gtest-printers.cc (original)
+++ llvm/trunk/utils/unittest/googletest/src/gtest-printers.cc Thu Mar 13 20:56:55 2014
@@ -288,7 +288,7 @@ static void PrintWideCharsAsStringTo(con
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.
More information about the llvm-commits
mailing list