mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Type-cache returns undefined types, bug 277277
This commit is contained in:
parent
cc06277186
commit
1cb9ea94e6
1 changed files with 3 additions and 2 deletions
|
@ -57,8 +57,9 @@ public class AllTypesCache {
|
||||||
IIndexBinding[] all =
|
IIndexBinding[] all =
|
||||||
index.findBindings(Pattern.compile(".*"), false, new IndexFilter() { //$NON-NLS-1$
|
index.findBindings(Pattern.compile(".*"), false, new IndexFilter() { //$NON-NLS-1$
|
||||||
@Override
|
@Override
|
||||||
public boolean acceptBinding(IBinding binding) {
|
public boolean acceptBinding(IBinding binding) throws CoreException {
|
||||||
return IndexModelUtil.bindingHasCElementType(binding, kinds);
|
return IndexFilter.ALL_DECLARED_OR_IMPLICIT.acceptBinding(binding) &&
|
||||||
|
IndexModelUtil.bindingHasCElementType(binding, kinds);
|
||||||
}},
|
}},
|
||||||
monitor
|
monitor
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue