mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
![]() 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> |
||
---|---|---|
.. | ||
org.eclipse.cdt.alltests | ||
org.eclipse.cdt.core | ||
org.eclipse.cdt.core.aix | ||
org.eclipse.cdt.core.linux | ||
org.eclipse.cdt.core.linux.ia64 | ||
org.eclipse.cdt.core.linux.ppc | ||
org.eclipse.cdt.core.linux.ppc64 | ||
org.eclipse.cdt.core.linux.x86 | ||
org.eclipse.cdt.core.linux.x86_64 | ||
org.eclipse.cdt.core.macosx | ||
org.eclipse.cdt.core.qnx | ||
org.eclipse.cdt.core.solaris | ||
org.eclipse.cdt.core.tests | ||
org.eclipse.cdt.core.win32 | ||
org.eclipse.cdt.core.win32.x86 | ||
org.eclipse.cdt.core.win32.x86_64 | ||
org.eclipse.cdt.ui | ||
org.eclipse.cdt.ui.tests |