mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Wrong warning in new class wizard, bug 290118.
This commit is contained in:
parent
61e5a9de3e
commit
f6c4c980e3
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ public class NewClassWizardUtil {
|
|||
try {
|
||||
String fullyQualifiedTypeName = typeName.getFullyQualifiedName();
|
||||
try {
|
||||
IndexFilter filter= IndexFilter.getFilter(ILinkage.CPP_LINKAGE_ID);
|
||||
IndexFilter filter= IndexFilter.getDeclaredBindingFilter(ILinkage.CPP_LINKAGE_ID, true);
|
||||
//bug 165636: findBindings(char[][]...) does not find nested nodes (classes)
|
||||
//therefore switching back to findBindings(Pattern...)
|
||||
IBinding[] bindings = index.findBindings(typeName.getName().toCharArray(), false, filter, new NullProgressMonitor());
|
||||
|
|
Loading…
Add table
Reference in a new issue