Author: hhinnant
Date: Sat May 14 09:53:12 2011
New Revision: 131341
URL: http://llvm.org/viewvc/llvm-project?rev=131341&view=rev
Log:
Warning suppression in test.
Modified:
libcxx/trunk/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/utf_sanity_check.pass.cpp
Modified:
libcxx/trunk/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/utf_sanity_check.pass.cpp
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/utf_sanity_check.pass.cpp?rev=131341&r1=131340&r2=131341&view=diff
==============================================================================
---
libcxx/trunk/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/utf_sanity_check.pass.cpp
(original)
+++
libcxx/trunk/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/utf_sanity_check.pass.cpp
Sat May 14 09:53:12 2011
@@ -44,7 +44,7 @@
F32_8::extern_type c8[4];
for (F32_8::intern_type c32x = 0; c32x < 0x110003; ++c32x)
{
- if (0xD800 <= c32x && c32x < 0xE000 || c32x >= 0x110000)
+ if ((0xD800 <= c32x && c32x < 0xE000) || c32x >= 0x110000)
{
assert(f32_16.out(mbs, &c32x, &c32x+1, c_c32p, c16c+0, c16c+4,
c16cp) == F32_8::error);
assert(f32_8.out(mbs, &c32x, &c32x+1, c_c32p, c8, c8+4, c8p) ==
F32_8::error);
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits