[cfe-commits] r67313 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/Sema/function-redecl.c

Chris Lattner clattner at apple.com
Thu Mar 19 15:05:08 PDT 2009


On Mar 19, 2009, at 11:34 AM, Douglas Gregor wrote:

>
> On Mar 19, 2009, at 11:24 AM, Chris Lattner wrote:
>
>>
>> On Mar 19, 2009, at 11:14 AM, Douglas Gregor wrote:
>>
>>> Author: dgregor
>>> Date: Thu Mar 19 13:14:46 2009
>>> New Revision: 67313
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=67313&view=rev
>>> Log:
>>> If a function is declared as, e.g.,
>>>
>>> F f;
>>>
>>> where F is a typedef of a function type, then the function "f" has a
>>> prototype. This is a slight tweak to Chris's suggested fix in
>>> PR3817. Fixes PR3817 and PR3840.
>>
>> Thanks Doug.  Is this intentionally not using R- 
>> >isFunctionType() ?  If so, please add a comment making this really  
>> clear.
>
> It's quite intentional. See the comment I added in r67316.

Perfect, thanks!

-Chris



More information about the cfe-commits mailing list