[PATCH] D31241: [Modules][PCH] Serialize #pragma pack

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 07:43:05 PDT 2017


arphaman created this revision.

This patch serializes the state of `#pragma pack`. It preserves the state of the pragma from a PCH/from modules in a file that uses that PCH/those modules.


Repository:
  rL LLVM

https://reviews.llvm.org/D31241

Files:
  include/clang/Serialization/ASTBitCodes.h
  include/clang/Serialization/ASTReader.h
  include/clang/Serialization/ASTWriter.h
  lib/Sema/SemaAttr.cpp
  lib/Serialization/ASTReader.cpp
  lib/Serialization/ASTWriter.cpp
  test/Modules/Inputs/module.map
  test/Modules/Inputs/pragma_pack_push.h
  test/Modules/Inputs/pragma_pack_reset_push.h
  test/Modules/Inputs/pragma_pack_set.h
  test/Modules/pragma-pack.c
  test/PCH/pragma-pack.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31241.92638.patch
Type: text/x-patch
Size: 12908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170322/5a4da65c/attachment.bin>


More information about the cfe-commits mailing list