Previously we type-punned through a union, which is not safe.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2459 Build 2459: arc lint + arc unit
Paths
| Differential D28161
[ADT] Use memcpy for type punning in MathExtras. ClosedPublic Authored by jlebar on Dec 29 2016, 9:46 AM.
Details Summary Previously we type-punned through a union, which is not safe.
Diff Detail
Event Timelinejlebar updated this object. This revision is now accepted and ready to land.Dec 29 2016, 10:04 AM Closed by commit rL290715: [ADT] Use memcpy for type punning in MathExtras. (authored by jlebar). · Explain WhyDec 29 2016, 10:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 82675 llvm/include/llvm/Support/MathExtras.h
|