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

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 20 07:10:07 PST 2017


rogfer01 created this revision.

See related proposal in http://lists.llvm.org/pipermail/cfe-dev/2017-February/052739.html

This patch honors the unaligned type qualifier (currently available through he keyword __unaligned and -fms-extensions) in CodeGen. In the current form the patch affects declarations and expressions. It does not affect fields of classes.


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.89116.patch
Type: text/x-patch
Size: 9615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170220/5947a3bd/attachment-0001.bin>


More information about the cfe-commits mailing list