[PATCH] D30166: Honor __unaligned in codegen for declarations and expressions

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 21 01:46:51 PST 2017


rogfer01 updated this revision to Diff 89172.
rogfer01 marked 2 inline comments as done.
rogfer01 added a comment.

Updated patch. Use TargetInfo::getCharWidth and remove unnecessary else.


https://reviews.llvm.org/D30166

Files:
  include/clang/AST/ASTContext.h
  lib/AST/ASTContext.cpp
  lib/AST/ExprConstant.cpp
  test/CodeGen/unaligned-decl.c
  test/CodeGen/unaligned-expr.c
  test/CodeGen/unaligned-field.c
  test/CodeGenCXX/unaligned.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30166.89172.patch
Type: text/x-patch
Size: 9576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170221/18c0e81a/attachment.bin>


More information about the cfe-commits mailing list