[cfe-commits] [PATCH] Fix for reinterpret_cast (bug 11747)

Aaron Ballman aaron at aaronballman.com
Sun Jan 15 13:45:53 PST 2012

This is a patch for fixing 11747, allowing reinterpret_cast to "cast"
where the source and destination types are the same as per
[expr.reinterpret.cast]p2.  The fix itself is fairly simple -- the
code was already there, it just needed to be moved up slightly since
the previous check was for source and dest being pointers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: reinterpret_cast.patch
Type: application/octet-stream
Size: 1440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120115/bb73428e/attachment.obj>

More information about the cfe-commits mailing list