[PATCH] D27544: [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 7/7.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 7 23:19:02 PST 2016


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: test/std/re/re.traits/value.pass.cpp:119
         }
         for (int c = 'g'; c < 0xFFFF; ++c)
         {
----------------
Can't we just make `c` a `wchar_t` like above?


https://reviews.llvm.org/D27544





More information about the cfe-commits mailing list