]> granicus.if.org Git - clang/commit
Add Sema implementation of #pragma pack stack.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 14 Oct 2008 05:35:18 +0000 (05:35 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 14 Oct 2008 05:35:18 +0000 (05:35 +0000)
commit4cde927072a70f3156d72c6431e7a5d95bf62366
tree56004bdf53fc90d1c8466195c664220948d94454
parente15fa2736413224dfdaf457e0fd7204d7c056b3d
Add Sema implementation of #pragma pack stack.
 - Follows the MSVC (original) implementation, including support of
   pack(show) (useful for testing).
 - Implements support for named pack records which gcc seems to
   ignore (or implements incorrectly).
 - Not currently wired to anything, only functionality change is the
   type checking of the pragma.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57476 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
lib/Sema/Sema.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
test/Sema/pragma-pack.c [new file with mode: 0644]