mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +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 =
|
||||
index.findBindings(Pattern.compile(".*"), false, new IndexFilter() { //$NON-NLS-1$
|
||||
@Override
|
||||
public boolean acceptBinding(IBinding binding) {
|
||||
return IndexModelUtil.bindingHasCElementType(binding, kinds);
|
||||
public boolean acceptBinding(IBinding binding) throws CoreException {
|
||||
return IndexFilter.ALL_DECLARED_OR_IMPLICIT.acceptBinding(binding) &&
|
||||
IndexModelUtil.bindingHasCElementType(binding, kinds);
|
||||
}},
|
||||
monitor
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue