mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
remove check for typedef
This commit is contained in:
parent
a2e471d3f5
commit
252e890fed
1 changed files with 0 additions and 5 deletions
|
@ -11,7 +11,6 @@
|
|||
package org.eclipse.cdt.core.browser;
|
||||
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
import org.eclipse.cdt.core.model.ITypeDef;
|
||||
import org.eclipse.cdt.internal.core.browser.cache.ITypeCache;
|
||||
import org.eclipse.cdt.internal.core.browser.util.ArrayUtil;
|
||||
import org.eclipse.core.resources.IProject;
|
||||
|
@ -66,10 +65,6 @@ public class TypeInfo implements ITypeInfo
|
|||
//TODO should check fully qualified name
|
||||
return elem;
|
||||
}
|
||||
if (elem instanceof ITypeDef && ((ITypeDef)elem).getTypeName().equals(getName())) {
|
||||
//TODO should check fully qualified name
|
||||
return elem;
|
||||
}
|
||||
}
|
||||
} else if (elems.length == 1) {
|
||||
return elems[0];
|
||||
|
|
Loading…
Add table
Reference in a new issue