News for hackers. Stuff that matters.
Re:Clang emits memcpy for std::swap, which can introduce und... by electrograv on Sunday April 24, 2016 @05:32PM (#11561458)
If it's not 100% valid on 100% platforms and 100% of all future Libc revisions (which is impossible if it relies on undefined behavior and can link with different Libc versions), then it's not 100% correct and valid.
Re:Clang emits memcpy for std::swap, which can introduce und... by chandlerc1024 on Sunday April 24, 2016 @05:41PM (#11561488)
On at least one platform, all future libc revisions will abide by this requirement.

And neither Clang nor LLVM are generating platform agnostic code. The code only has meaning for the specific platform being targeted.