[cfe-commits] r81536 - /cfe/trunk/lib/Parse/ParseDeclCXX.cpp

Douglas Gregor dgregor at apple.com
Sat Sep 12 17:31:12 PDT 2009


On Sep 12, 2009, at 9:54 AM, Anders Carlsson <andersca at mac.com> wrote:

>
> 11 sep 2009 kl. 15.48 skrev Douglas Gregor:
>
>>
>>
>> refer to a different class template "vector" than they would if the  
>> friend template were not present. This led to some really weird  
>> spurious diagnostics (of the "out-of-line definition does not match  
>> any declaration in..." kind) in some code I've been trying to  
>> parse. When the friend templates caused a compiler crash, it was  
>> easier to comment out that code to limp through ;)
>
> Ouch! Luckily John tells me he has a patch that makes friend  
> templates actually work :) Do you want me to revert the code  
> meanwhile?

No, you don't need to revert. I know how to work around the issue now :)

   - Doug



More information about the cfe-commits mailing list