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:
parent
6ec98ed101
commit
faf943db23
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue