[cfe-commits] [patch] Fix put_pointer test for glibc

Chandler Carruth chandlerc at google.com
Sun Feb 19 03:25:28 PST 2012

Personally, I like this patch as it had the test following what is allowed
by the standard, and enumerating those options explicitly rather than just
comparing against the libc sprintf output.
On Feb 19, 2012 1:40 AM, "Jeffrey Yasskin" <jyasskin at gmail.com> wrote:

> Another way to fix this would be to do the sprintf and compare against
> that, or to use an explicit integer reinterpret_casted to void*, but
> it doesn't seem too bad to add an extra option for glibc's output.
> Jeffrey
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120219/261c9986/attachment.html>

More information about the cfe-commits mailing list