[PATCH] D23325: [WIP] Binding of references to packed fields

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 2 09:28:36 PST 2016


rogfer01 updated this revision to Diff 80081.
rogfer01 added a comment.

Drop attribute packed of a class when one of its fields is a non-packed non-pod for compatibility with GCC.


https://reviews.llvm.org/D23325

Files:
  include/clang/AST/Decl.h
  include/clang/AST/Expr.h
  include/clang/AST/Stmt.h
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/Specifiers.h
  lib/AST/ASTDumper.cpp
  lib/AST/Decl.cpp
  lib/Sema/SemaCast.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprMember.cpp
  lib/Sema/SemaFixItUtils.cpp
  lib/Sema/SemaInit.cpp
  test/CodeGenCXX/pod-member-memcpys.cpp
  test/SemaCXX/bind-packed-member.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23325.80081.patch
Type: text/x-patch
Size: 14880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161202/78651b59/attachment-0001.bin>


More information about the cfe-commits mailing list