summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2017-06-08 23:35:52 +0000
committerGalina Kistanova <gkistanova@gmail.com>2017-06-08 23:35:52 +0000
commit415ec9260f20d23ed9f269204cfd45a433b5e170 (patch)
tree416534cf555fefe4ac534d2e749fbb53d226c6bf /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
parentc1993fa1a3ec2e9c9722879ea9cb80d9a3cacce2 (diff)
downloadbcm5719-llvm-415ec9260f20d23ed9f269204cfd45a433b5e170.tar.gz
bcm5719-llvm-415ec9260f20d23ed9f269204cfd45a433b5e170.zip
Fixed warning: dereferencing type-punned pointer will break strict-aliasing rules.
No need in reinterpret_cast<StringTableOffset &> here, as struct coff_symbol Name is a unin with the member StringTableOffset Offset. This union member could be accessed directly. llvm-svn: 305029
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud