[cfe-dev] [PATCH] [MS-Ext] Add support for multiple __declspec() after a class-key.

Francois Pichet pichet2000 at gmail.com
Wed Aug 4 22:20:27 PDT 2010


Hi,

Currently CLang only allow 1 __declspec() after a class or struct class-key.
This is a small patch to make CLang code handles multiple __declspec.

example:
struct __declspec(uuid("00000000-0000-0000-C000-000000000046"))
__declspec(novtable) IUnknown {};

This is required to parse MSVS headers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: __declspec.patch
Type: application/octet-stream
Size: 1150 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100805/549093fa/attachment.obj>


More information about the cfe-dev mailing list