search for: a23f1dab

Displaying 2 results from an estimated 2 matches for "a23f1dab".

2016 Jan 15
3
[cfe-dev] RFC: Enforcing pointer type alignment in Clang
...ld be allowed to assume alignment in those situations. If you feel that there’s a better formalization that still captures that, I’m open to it. John. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160114/a23f1dab/attachment.html>
2016 Jan 14
8
RFC: Enforcing pointer type alignment in Clang
C 6.3.2.3p7 (N1548) says: A pointer to an object type may be converted to a pointer to a different object type. If the resulting pointer is not correctly aligned) for the referenced type, the behavior is undefined. C++ [expr.reinterpret.cast]p7 (N4527) defines pointer conversions in terms of conversions from void*: An object pointer can be explicitly converted to an object pointer of a