[cfe-commits] [PATCH] fix support for 128-bit integer literals

Jonathan Sauer jonathan.sauer at gmx.de
Fri May 4 07:54:05 PDT 2012


Hello,

> Clang already supports the microsoft suffixes for integer literals "i128" and "Ui128" with -fms-extensions.  However, these literals are currently truncated to 64 bits with a warning.
> 
> This patch adds support for full-width 128-bit integer literals with the ms suffixes.

This seems to tie into C++11's extended integral types (N1988[*]), which according to the
status page are not yet available in clang. Should these suffixes (along with full-width
integer literals) be supported in C++11 mode as well?


Jonathan

[*] <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1988.pdf>





More information about the cfe-commits mailing list