aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-08-16 18:28:55 +0000
committerMatthias Braun <matze@braunis.de>2016-08-16 18:28:55 +0000
commit0761b5253d57690e43cca9f4cc8155ecf223ee17 (patch)
tree3083e161f5e534c68e06895710f120d503166aa1 /llvm/lib/Support/SourceMgr.cpp
parent8dd4e702222500192ec1b5e64b2e83b29c7afac7 (diff)
downloadllvm-0761b5253d57690e43cca9f4cc8155ecf223ee17.zip
llvm-0761b5253d57690e43cca9f4cc8155ecf223ee17.tar.gz
llvm-0761b5253d57690e43cca9f4cc8155ecf223ee17.tar.bz2
sanitizer_common: Fix warning
Clang added warning that taking the address of a packed struct member possibly yields an unaligned pointer. This case is benign because the pointer gets casted to an uptr and not used for unaligned accesses. Add an intermediate cast to char* until this warning is improved (see also https://reviews.llvm.org/D20561) llvm-svn: 278835
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions