mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-12 18:55:38 +02:00
Cosmetics.
This commit is contained in:
parent
1276c82216
commit
a06882508c
1 changed files with 2 additions and 4 deletions
|
@ -77,8 +77,7 @@ class PDOMCPPTypedef extends PDOMCPPBinding implements ITypedef, ITypeContainer,
|
||||||
}
|
}
|
||||||
if (type instanceof ITypeContainer) {
|
if (type instanceof ITypeContainer) {
|
||||||
type= ((ITypeContainer) type).getType();
|
type= ((ITypeContainer) type).getType();
|
||||||
}
|
} else if (type instanceof IFunctionType) {
|
||||||
else if (type instanceof IFunctionType) {
|
|
||||||
IFunctionType ft= (IFunctionType) type;
|
IFunctionType ft= (IFunctionType) type;
|
||||||
if (introducesRecursion(ft.getReturnType(), parentRec, tdname)) {
|
if (introducesRecursion(ft.getReturnType(), parentRec, tdname)) {
|
||||||
return true;
|
return true;
|
||||||
|
@ -90,8 +89,7 @@ class PDOMCPPTypedef extends PDOMCPPBinding implements ITypedef, ITypeContainer,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue