[PATCH] D20561: Warn when taking address of packed member

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 16 12:20:23 PDT 2016


eugenis added a comment.

This timeval thing looks like a legitimate warning to me.
I don't think the analysis should go beyond the function boundaries. If a callee expects timeval * as part of its signature it should get a properly aligned timeval *.


http://reviews.llvm.org/D20561





More information about the cfe-commits mailing list