[PATCH] D19727: [MS] Improved implementation #pragma pack (MS pragmas, part 2)
Denis Zobnin via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 29 08:57:56 PDT 2016
d.zobnin.bugzilla created this revision.
d.zobnin.bugzilla added a reviewer: rnk.
d.zobnin.bugzilla added subscribers: thakis, cfe-commits.
An attempt to make implementation of #pragma pack consistent with other "stack" pragmas. Also modifies #pragma options align, since it shares the stack with #pragma pack.
It is the first item from todo list in http://reviews.llvm.org/D19361
The patch doesn't change compiler's behavior, so the tests are not modified.
I'm planning to rework the pragmas' diagnostics in next patch -- it should be a common feature of all "stack" pragmas.
http://reviews.llvm.org/D19727
Files:
include/clang/Sema/Sema.h
lib/Parse/ParsePragma.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaAttr.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19727.55598.patch
Type: text/x-patch
Size: 16537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160429/6876300a/attachment-0001.bin>
More information about the cfe-commits
mailing list