C++ duchain unit tests

Nicolás Alvarez nicolas.alvarez at gmail.com
Thu Jun 17 19:42:31 UTC 2010

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.

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...


More information about the KDevelop-devel mailing list