mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 13:25:45 +02:00
Finishing off AllTypesCache to put back the return nulls.
This commit is contained in:
parent
2d22bce5ac
commit
04be564ed0
1 changed files with 6 additions and 2 deletions
|
@ -209,7 +209,9 @@ public class AllTypesCache {
|
||||||
* @return the matching type
|
* @return the matching type
|
||||||
*/
|
*/
|
||||||
public static ITypeInfo getType(ICProject project, int type, IQualifiedTypeName qualifiedName) {
|
public static ITypeInfo getType(ICProject project, int type, IQualifiedTypeName qualifiedName) {
|
||||||
throw new PDOMNotImplementedError();
|
// TODO - seems to be only used when a namespace name is changed
|
||||||
|
// which would be pretty slow against the PDOM.
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -222,7 +224,9 @@ public class AllTypesCache {
|
||||||
* @return Array of types
|
* @return Array of types
|
||||||
*/
|
*/
|
||||||
public static ITypeInfo[] getTypes(ICProject project, IQualifiedTypeName qualifiedName, boolean matchEnclosed, boolean ignoreCase) {
|
public static ITypeInfo[] getTypes(ICProject project, IQualifiedTypeName qualifiedName, boolean matchEnclosed, boolean ignoreCase) {
|
||||||
throw new PDOMNotImplementedError();
|
// TODO - seems to be only used when a class or namespace name is changed
|
||||||
|
// which would be pretty slow against the PDOM.
|
||||||
|
return new ITypeInfo[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue