On Jan 7, 2013, at 8:15 PM, Rafael Espíndola <[email protected]> wrote:
> ...
>> static void f();
>> static void f();
>> template<typename T>
>> static void g() {
>> f();
>> }
>> static void f() {
>> }
>> void h() {
>> g<int>();
>> }
>>
>> the call to f refers to the second decl, but it is only marked used at
>> the end of the translation unit during instantiation, after the third
>> f decl has been linked in.
>
> An rebased patch is attached. Is it OK?
LGTM.
- Doug
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits