1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Minor changes to facilitate debugging.

This commit is contained in:
Sergey Prigogin 2008-04-21 00:12:18 +00:00
parent 6ec98ed101
commit faf943db23
2 changed files with 2 additions and 4 deletions

View file

@ -418,8 +418,8 @@ public class ASTTypeUtil {
IType[] types = new IType[DEAULT_ITYPE_SIZE];
// push all of the types onto the stack
int i=0;
while(type != null && ++i<100) {
int i = 0;
while (type != null && ++i < 100) {
final boolean isTypedef= type instanceof ITypedef;
if (!resolveTypedefs || !isTypedef) {
types = (IType[]) ArrayUtil.append(IType.class, types, type);

View file

@ -40,12 +40,10 @@ import org.eclipse.cdt.internal.core.index.IIndexType;
public class CPPClassInstance extends CPPInstance implements ICPPClassType {
private CPPClassSpecializationScope instanceScope;
public CPPClassInstance(ICPPScope scope, IBinding decl, ObjectMap argMap, IType[] args) {
super(scope, decl, argMap, args);
}
public ICPPBase[] getBases() throws DOMException {
ICPPClassType cls = (ICPPClassType) getSpecializedBinding();
if (cls != null) {