[cfe-commits] [PATCH] Improved __declspec support
Aaron Ballman
aaron at aaronballman.com
Tue Jun 19 06:55:00 PDT 2012
On Mon, Jun 18, 2012 at 10:35 PM, Sean Hunt <scshunt at csclub.uwaterloo.ca> wrote:
> 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.
No worries, it was pretty trivial to handle the conflicts. I've
committed in r158717. Thanks (everyone) for all the great reviews!
~Aaron
More information about the cfe-commits
mailing list