mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() 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> |
||
---|---|---|
build | ||
codan | ||
core | ||
cross | ||
debug | ||
doc | ||
dsf | ||
dsf-gdb | ||
jtag | ||
launch/org.eclipse.cdt.launch | ||
llvm | ||
lrparser | ||
memory | ||
p2 | ||
qt | ||
releng | ||
testsrunner | ||
upc | ||
util | ||
visualizer | ||
windows | ||
xlc | ||
.gitignore | ||
pom.xml |