1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00
cdt/core
Andrew Eidsness 08c7d10763 Bug 422765: New method to find IBindings from qualifiedName
This creates a new method in CPPSemantics that will lookup a list of
IBindings from a qualifiedName.  E.g., given:

    namespace A
    {
        namespace B
        {
            int b;
        }
    }

CPPSemantics.findBindingsByQualifiedName(scope, "A::B::b"); will return
an array with the CPPVariable binding for b.

This commit contains a new test case for various cases that I've thought
about.  I had expected that by using the existing lookup functions (in
CPPSemantics) I wouldn't have to think too hard about various matches.
However, the existing functions didn't work quite the way that I
expected.

Change-Id: I8a5aacba4a02d87f71ed4698aa432c3161395a31
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/19067
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2013-11-28 23:37:18 -05:00
..
org.eclipse.cdt.alltests Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core Bug 422765: New method to find IBindings from qualifiedName 2013-11-28 23:37:18 -05:00
org.eclipse.cdt.core.aix Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.ia64 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.ppc Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux.ppc64 Bug 406479 - Some "org.eclipse.cdt.core" fragments are missing an 2013-09-26 11:37:38 -04:00
org.eclipse.cdt.core.linux.x86 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.linux.x86_64 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.macosx Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.qnx
org.eclipse.cdt.core.solaris Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.tests Bug 422765: New method to find IBindings from qualifiedName 2013-11-28 23:37:18 -05:00
org.eclipse.cdt.core.win32 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.win32.x86 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.core.win32.x86_64 Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
org.eclipse.cdt.ui Bug 422681: Allow references to bindings in other linkages 2013-11-27 19:56:03 -05:00
org.eclipse.cdt.ui.tests Bug 422695. More test cases and fixes. 2013-11-27 14:27:00 -08:00