[cfe-commits] r58880 - /cfe/trunk/lib/Parse/ParseDecl.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Tue Nov 11 12:32:23 PST 2008


Douglas Gregor wrote:
>
> On Nov 7, 2008, at 8:09 PM, Argiris Kirtzidis wrote:
>
>> Author: akirtzidis
>> Date: Fri Nov  7 19:09:16 2008
>> New Revision: 58880
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=58880&view=rev
>> Log:
>> In a declarator, consider an identifier a constructor only if it is 
>> followed by '('.
>
> Thanks!

Unfortunately the fix wasn't right, since it breaks for:

class C {
  (C)();
};

so I have reverted this change.

-Argiris



More information about the cfe-commits mailing list