[cfe-commits] [PATCH] Improved __declspec support
Sean Hunt
scshunt at csclub.uwaterloo.ca
Mon Jun 18 20:35:25 PDT 2012
On Mon, Jun 18, 2012 at 7:17 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> On Mon, Jun 18, 2012 at 1:16 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
>> Here's a revised patch that takes advantage of Sean Hunt's work on
>> attributes as well (and incorporates the changes Richard suggested
>> previously).
>
> Some more small things, then please commit :)
>
>> @@ -57,7 +57,10 @@
>> enum Syntax {
>> AS_GNU,
>> AS_CXX11,
>> - AS_Declspec
>> + AS_Declspec,
>> + // eg) __w64, __ptr32, etc. It is implied that an MSTypespec is also
>> + // a declspec.
>> + AS_MSTypespec
>
> No need to change this now, but I wonder whether we will want to
> generalize this to AS_Keyword.
I was intending to do this. See also my patch which is about to land
and will (unfortunately) knock a bit of your work out. But don't worry
too hard about it, I'll fix it up anyway.
Sean
More information about the cfe-commits
mailing list