mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for 102790: CSearchPattern misses TYPEDEF in search values
This commit is contained in:
parent
b6b99ac40a
commit
6889eb0c0d
2 changed files with 5 additions and 1 deletions
|
@ -20,6 +20,10 @@ import org.eclipse.core.runtime.IPath;
|
|||
*/
|
||||
public interface IMatch {
|
||||
|
||||
/**
|
||||
* Returns ICElement constant describing the element type
|
||||
* @return
|
||||
*/
|
||||
int getElementType();
|
||||
|
||||
int getVisibility();
|
||||
|
|
|
@ -76,7 +76,7 @@ public abstract class CSearchPattern implements ICSearchConstants, ICSearchPatte
|
|||
public static final int ACCURATE_MATCH = 2;
|
||||
public static final int INACCURATE_MATCH = 3;
|
||||
|
||||
private static SearchFor[] fSearchForValues = { CLASS_STRUCT, FUNCTION, VAR, UNION, METHOD, FIELD, ENUM, ENUMTOR, NAMESPACE };
|
||||
private static SearchFor[] fSearchForValues = { CLASS_STRUCT, FUNCTION, VAR, UNION, METHOD, FIELD, ENUM, ENUMTOR, NAMESPACE, TYPEDEF, MACRO};
|
||||
|
||||
protected static class Requestor extends NullSourceElementRequestor
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue