[cfe-commits] [patch] Decltype in simple-type-specifiers

David Blaikie dblaikie at gmail.com
Sat Jan 21 01:48:49 PST 2012


Bump... another really small patch.

On Mon, Jan 9, 2012 at 11:17 PM, David Blaikie <dblaikie at gmail.com> wrote:
> 3rd time's the charm... sorry for the noise.
>
> On Mon, Jan 9, 2012 at 11:14 PM, David Blaikie <dblaikie at gmail.com> wrote:
>> Oops - updated test (removed some previously expected warnings that
>> don't fire any more since we've got some of the uniform initialization
>> stuff working now)
>>
>> On Mon, Jan 9, 2012 at 10:23 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>> Bump (patch resync'd to recent revision)
>>>
>>> On Tue, Dec 13, 2011 at 4:12 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>>> & of course I forgot to include the patch... here we go.
>>>>
>>>> On Tue, Dec 13, 2011 at 4:11 PM, David Blaikie <dblaikie at gmail.com> wrote:
>>>>> This patch adds support for decltype in simple-type-specifiers such as:
>>>>>
>>>>> struct foo { foo(int); };
>>>>> foo func() {
>>>>>  return decltype(foo())(3);
>>>>> }
>>>>>
>>>>> I'm not sure how much testing would be desired here - I could go
>>>>> through the spec & find all the uses of simple-type-specifier & add
>>>>> test cases that verify that decltype works in such contexts but for
>>>>> now I've done a smattering of those cases & things seem to be working
>>>>> fairly nicely.
>>>>>
>>>>> Let me know if this is suitable,
>>>>> - David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: decltype-simple-type-specifier.diff
Type: text/x-diff
Size: 3314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120121/e49845df/attachment.diff>


More information about the cfe-commits mailing list