Should DUContext::uses() return a list?
David Nolden
zwabel at googlemail.com
Mon Jul 21 18:57:40 UTC 2008
Am Montag, 21. Juli 2008 20:46:19 schrieb Andreas Pakulat:
> Hi,
>
> according to its API dox DUContext::uses() should return a list of uses,
> but currently the return value is a const Use*. I'm wondering which part
> is right and who's going to fix the cmake duchain tests?
>
> Andreas
Well, actually this pointer is a list. It just isn't a list object any more,
because that's not the way it is stored in the background, and uses() is
accessed too frequently to do a conversion on each access.
I will fix the cmake test.
Greetings, David
More information about the KDevelop-devel
mailing list