C++ duchain unit tests

Milian Wolff mail at milianw.de
Thu Jun 17 20:19:32 UTC 2010


On Thursday 17 June 2010 21:42:31 Nicolás Alvarez wrote:
> On 6/17/10, Nicolás Alvarez <nicolas.alvarez at gmail.com> wrote:
> > I modified testDeclareUsingNamespace to dump duchain, and when run
> > alone, the foo::bar declaration indeed has zero uses; while when run
> > after testLocalNamespaceAlias, there is a properly-ranged use.

Yep, can reproduce that.

> If I paste the test snippet in a normal C++ file, the 'bar' inside
> main() is underlined yellow. As soon as I type *anything* else (like
> adding a newline at the end), it's properly marked as a use. Pretty
> fragile stuff...

works for me :P Anyhow, since the above is reproducable I'll have a look at 
it. Bye

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100617/8ea75e64/attachment.sig>


More information about the KDevelop-devel mailing list