[PATCH] D32456: [ubsan] Make the alignment check work with some extern decls (PR32630)
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 25 14:13:49 PDT 2017
efriedma added a comment.
This should work correctly with alignment attributes, I think? IIRC those just change the return value of getDeclAlign().
I agree it's a little fragile, but I don't have a good suggestion to avoid that.
https://reviews.llvm.org/D32456
More information about the cfe-commits
mailing list