[cfe-dev] c++ 11 attribute support in clang
Michael Han
Michael.Han at autodesk.com
Mon Oct 1 15:56:25 PDT 2012
Hi,
Attached patch is trying to improve the C++ 11 generalized attributes support in Clang:
- Parse generic C++ 11 attributes into AST instead of parsing and ignoring them.
- Parse attributes arguments if the attributes are in gnu scope.
- Update several tests since with the unknown attributes introduced to AST some expected diagnostics shall be emitted.
This would allow one to extend Clang attributes using C++ 11 attribute syntax and migrate existing GNU style attributes with new syntax.
Are there any ideas and plans on adding generalized C++ 11 attribute support to Clang? I feel migrating existing GNU attributes to new syntax might be a good start. Any feedback are appreciated.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cxx11-attr-parse.patch
Type: application/octet-stream
Size: 15281 bytes
Desc: cxx11-attr-parse.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121001/24f01168/attachment.obj>
More information about the cfe-dev
mailing list