mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Cosmetics.
This commit is contained in:
parent
d1bb47e1ee
commit
23dc890167
1 changed files with 2 additions and 3 deletions
|
@ -6,9 +6,8 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Markus Schorn - initial API and implementation
|
* Markus Schorn - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.core.model.ext;
|
package org.eclipse.cdt.internal.core.model.ext;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.dom.ast.ICompositeType;
|
import org.eclipse.cdt.core.dom.ast.ICompositeType;
|
||||||
|
@ -27,7 +26,7 @@ public class StructureHandle extends CElementHandle implements IStructure {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static int convertKey(int astKey) {
|
private static int convertKey(int astKey) {
|
||||||
switch(astKey) {
|
switch (astKey) {
|
||||||
case ICompositeType.k_struct:
|
case ICompositeType.k_struct:
|
||||||
return ICElement.C_STRUCT;
|
return ICElement.C_STRUCT;
|
||||||
case ICompositeType.k_union:
|
case ICompositeType.k_union:
|
||||||
|
|
Loading…
Add table
Reference in a new issue