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

Array to pointer conversion for typedefs, bug 239931.

This commit is contained in:
Markus Schorn 2008-07-08 11:53:05 +00:00
parent 7f6536f4e0
commit 6848dd5f51

View file

@ -221,7 +221,10 @@ public class SemanticUtil {
static IType getUltimateTypeViaTypedefs(IType type) {
try {
while(type instanceof ITypedef) {
type= ((ITypedef)type).getType();
IType t= ((ITypedef)type).getType();
if (t == null)
return type;
type= t;
}
} catch(DOMException e) {
type= e.getProblem();