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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 06:19:32 PDT 2016


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

I think the patch LGTM (with a minor formatting nit). @rsmith, what are your thoughts?


================
Comment at: test/SemaCXX/address-packed.cpp:92
@@ +91,3 @@
+void g1()
+{
+    S<int> s1;
----------------
Formatting (may want to clang-format one last time before committing).


http://reviews.llvm.org/D20561





More information about the cfe-commits mailing list