1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Bug Fixing

This commit is contained in:
Hoda Amer 2004-06-14 20:44:05 +00:00
parent 612551d59c
commit 55cf39aba4
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,6 @@
2004-06-14 Hoda Amer
Fix for PR 63243: [Outline View] Missing user defined type if declare variable along with the C++ elem (struct, enum, union)
2004-06-11 Alain Magloire 2004-06-11 Alain Magloire
The IncludeEntry LibraryEntry getFullIncludePath() The IncludeEntry LibraryEntry getFullIncludePath()

View file

@ -134,6 +134,12 @@ public class ASTUtil {
}else if(typeSpecifier instanceof IASTSimpleTypeSpecifier){ }else if(typeSpecifier instanceof IASTSimpleTypeSpecifier){
IASTSimpleTypeSpecifier simpleSpecifier = (IASTSimpleTypeSpecifier) typeSpecifier; IASTSimpleTypeSpecifier simpleSpecifier = (IASTSimpleTypeSpecifier) typeSpecifier;
type.append(simpleSpecifier.getTypename()); type.append(simpleSpecifier.getTypename());
}else if(typeSpecifier instanceof IASTClassSpecifier){
IASTClassSpecifier classSpecifier = (IASTClassSpecifier) typeSpecifier;
type.append(classSpecifier.getName());
}else if(typeSpecifier instanceof IASTEnumerationSpecifier){
IASTEnumerationSpecifier enumSpecifier = (IASTEnumerationSpecifier) typeSpecifier;
type.append(enumSpecifier.getName());
} }
return type.toString(); return type.toString();
} }