chh added inline comments.

================
Comment at: lib/AST/RecordLayoutBuilder.cpp:1888
-    if (Packed && UnpackedAlignment > CharUnits::One() && 
-        getSize() == UnpackedSize)
       Diag(D->getLocation(), diag::warn_unnecessary_packed)
----------------
Why not keeping the (getSize() == UnpackedSize) condition?



https://reviews.llvm.org/D34114



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to