[PATCH] Implementation of #pragma (data|code|const|bss)_seg
Warren Hunt
whunt at google.com
Tue Mar 25 16:26:33 PDT 2014
This update constitutes a significant re-write of the previous version of the patch.
The unified MS-pragma handler has been updated to consume the token stream for the pragma up to eod and attach it to the annotation token, capped with an eof. The parser inserts the tokens back into the stream and parses them.
PragmaStack has been templated for future unification with the stack used by pragma pack.
Hi rsmith, majnemer, rnk,
http://llvm-reviews.chandlerc.com/D3065
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D3065?vs=7787&id=8116#toc
Files:
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/TokenKinds.def
include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/CodeGen/CodeGenModule.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParsePragma.cpp
lib/Parse/ParseStmt.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaAttr.cpp
lib/Sema/SemaDecl.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3065.2.patch
Type: text/x-patch
Size: 21985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140325/63c56414/attachment.bin>
More information about the cfe-commits
mailing list