[PATCH] D20561: Warn when taking address of packed member
James Y Knight via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 14 11:02:12 PDT 2016
jyknight added a subscriber: jyknight.
jyknight added a comment.
This seems to trigger even for the implicitly generated copier of a packed struct. E.g.
#include <sys/epoll.h>
void copyit(epoll_event&out, const epoll_event &in) {
out = in;
}
Is that as intended?
Repository:
rL LLVM
https://reviews.llvm.org/D20561
More information about the cfe-commits
mailing list