Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] what exactly is stored in the index?

Class A is a global binding and we need to keep track of all references to global bindings, both in global and local contexts. This is needed for search, rename refactoring, etc.

-sergey


On Fri, Jan 4, 2013 at 11:50 AM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:

>> template <typename T> class A {};
>>
>> void f()
>> {
>>          typedef int Int;
>>          A<Int> a;
>> }
>
> It seems that the class instance A<Int> should not be stored in the
> index, but there should be a PDOMName representing 'A' in 'A<Int> a;'

Why, if it's a local declaration?

Thanks,
Nate

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top