[cfe-commits] [PATCH] Determine if FromType is signed in conversion of character prvalues

David Majnemer david.majnemer at gmail.com
Tue Jun 14 21:37:22 PDT 2011


Hi,

This is a simple patch, the FIXME was not fixable before due to the
nonexistence of split wchar types in the BuiltinType::Kind enum. clang
has had types like WChar_S for quite some time now so it should simply
be a matter of querying the underlying BuiltinType's signedness which
is what this patch should do.

I cannot seem to write a meaningful test. If one is needed, a pointer
would be nice...

-- 
David Majnemer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: is_integral_promotion_from_is_signed.patch
Type: application/octet-stream
Size: 720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110615/c006d94d/attachment.obj>


More information about the cfe-commits mailing list