mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 378930: ArrayStoreException collecting fields.
This commit is contained in:
parent
4536b4b84c
commit
3b03ad0e7a
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ public class CStructure extends PlatformObject implements ICompositeType, ICInte
|
|||
for (IASTDeclarator declarator : declarators) {
|
||||
IASTName name = ASTQueries.findInnermostDeclarator(declarator).getName();
|
||||
IBinding binding = name.resolveBinding();
|
||||
if (binding != null)
|
||||
if (binding instanceof IField)
|
||||
fields = ArrayUtil.append(fields, (IField) binding);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue