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

Douglas Gregor dgregor at apple.com
Thu Mar 19 11:34:19 PDT 2009


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.

	- Doug



More information about the cfe-commits mailing list