Re: [PATCH] D12297: [libcxx] Fix most undefined behavior in

2015-12-16 Thread Eric Fiselier via cfe-commits
EricWF abandoned this revision. EricWF added a comment. Abandoning for better solution in http://reviews.llvm.org/D12297. http://reviews.llvm.org/D12297 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/li

Re: [PATCH] D12297: [libcxx] Fix most undefined behavior in

2015-08-26 Thread Marshall Clow via cfe-commits
mclow.lists added a comment. I like this because it localizes the weirdness into one routine `self`. If we can't get D12999 applied due to ABI concerns, this will help a bunch. http://reviews.llvm.org/D12297 ___ cfe-commits mailing list cfe-commits@

[PATCH] D12297: [libcxx] Fix most undefined behavior in

2015-08-24 Thread Eric Fiselier via cfe-commits
EricWF created this revision. EricWF added reviewers: mclow.lists, danalbert, rsmith. EricWF added subscribers: cfe-commits, awi, rsmith. This patch partially fixes the undefined behavior in ``. The undefined behavior is caused by casting a pointer to `__node_base __end_` to the derived type `__