diff options
author | David Greene <greened@obbligato.org> | 2013-01-10 18:17:54 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2013-01-10 18:17:54 +0000 |
commit | 5e1b31bf5588cd9ea0b16e94fcc1d908e40027e2 (patch) | |
tree | ca52460dfcc0b6cf196ca8e62277067b5063f4fe /lib/Support/SourceMgr.cpp | |
parent | c560bf638b74eb48347a7b945b90aa89ffcc1620 (diff) |
Fix Alias Bug
Use memcpy to do type punning instead of a cast. A cast or similar
operation through a union breaks strict aliasing rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions