mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +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 {
|
try {
|
||||||
String fullyQualifiedTypeName = typeName.getFullyQualifiedName();
|
String fullyQualifiedTypeName = typeName.getFullyQualifiedName();
|
||||||
try {
|
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)
|
//bug 165636: findBindings(char[][]...) does not find nested nodes (classes)
|
||||||
//therefore switching back to findBindings(Pattern...)
|
//therefore switching back to findBindings(Pattern...)
|
||||||
IBinding[] bindings = index.findBindings(typeName.getName().toCharArray(), false, filter, new NullProgressMonitor());
|
IBinding[] bindings = index.findBindings(typeName.getName().toCharArray(), false, filter, new NullProgressMonitor());
|
||||||
|
|
Loading…
Add table
Reference in a new issue