mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix for 179492: CModelBuilder2 does not set ICElementKind correctly
This commit is contained in:
parent
d7d46ed8c4
commit
768104f0e5
1 changed files with 6 additions and 1 deletions
|
@ -629,8 +629,13 @@ public class CModelBuilder2 implements IContributedModelBuilder {
|
|||
kind= (isTemplate) ? ICElement.C_TEMPLATE_CLASS_DECLARATION : ICElement.C_CLASS_DECLARATION;
|
||||
type= Keywords.CLASS;
|
||||
break;
|
||||
case IASTElaboratedTypeSpecifier.k_enum:
|
||||
// do we need a C_ENUM_DECLARATION?
|
||||
kind= ICElement.C_CLASS_DECLARATION;
|
||||
type= Keywords.ENUM;
|
||||
break;
|
||||
default:
|
||||
kind= ICElement.C_CLASS;
|
||||
kind= ICElement.C_CLASS_DECLARATION;
|
||||
type= ""; //$NON-NLS-1$
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue