[cfe-commits] r147385 - in /cfe/trunk: lib/AST/StmtPrinter.cpp test/SemaCXX/constexpr-printing.cpp

Jordy Rose jediknil at belkadan.com
Fri Dec 30 22:17:06 PST 2011


On Dec 31, 2011, at 6:37, Richard Smith wrote:

> +      // FIXME: Is this the best way to print wchar_t?
> +      if (Char > 0xff) {
> +        // char32_t values are <= 0x10ffff.

Can we make this an assertion? Or just put in the two extra lines to handle all 32-bit values, even though most of them are currently not valid Unicode?

Jordy



More information about the cfe-commits mailing list