diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-01 15:51:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-04-01 15:51:51 +0000 |
commit | 99c67b31cb34f1821e5037bc79598306733a906a (patch) | |
tree | 713b42c305ecaaf7a320c8672e5247db4b95b970 /clang/lib/Sema/SemaDeclAttr.cpp | |
parent | 7784171721b7bc85732c302ab4c6fe2122b9a48d (diff) | |
download | bcm5719-llvm-99c67b31cb34f1821e5037bc79598306733a906a.tar.gz bcm5719-llvm-99c67b31cb34f1821e5037bc79598306733a906a.zip |
[ADT] Make StringMap's tombstone aligned.
This avoids undefined behavior when casting pointers to it. Also make
sure that we don't cast to a derived StringMapEntry before checking for
tombstone, as that may have different alignment requirements.
llvm-svn: 265145
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
0 files changed, 0 insertions, 0 deletions