mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +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];
|
IType[] types = new IType[DEAULT_ITYPE_SIZE];
|
||||||
|
|
||||||
// push all of the types onto the stack
|
// push all of the types onto the stack
|
||||||
int i=0;
|
int i = 0;
|
||||||
while(type != null && ++i<100) {
|
while (type != null && ++i < 100) {
|
||||||
final boolean isTypedef= type instanceof ITypedef;
|
final boolean isTypedef= type instanceof ITypedef;
|
||||||
if (!resolveTypedefs || !isTypedef) {
|
if (!resolveTypedefs || !isTypedef) {
|
||||||
types = (IType[]) ArrayUtil.append(IType.class, types, type);
|
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 {
|
public class CPPClassInstance extends CPPInstance implements ICPPClassType {
|
||||||
private CPPClassSpecializationScope instanceScope;
|
private CPPClassSpecializationScope instanceScope;
|
||||||
|
|
||||||
|
|
||||||
public CPPClassInstance(ICPPScope scope, IBinding decl, ObjectMap argMap, IType[] args) {
|
public CPPClassInstance(ICPPScope scope, IBinding decl, ObjectMap argMap, IType[] args) {
|
||||||
super(scope, decl, argMap, args);
|
super(scope, decl, argMap, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public ICPPBase[] getBases() throws DOMException {
|
public ICPPBase[] getBases() throws DOMException {
|
||||||
ICPPClassType cls = (ICPPClassType) getSpecializedBinding();
|
ICPPClassType cls = (ICPPClassType) getSpecializedBinding();
|
||||||
if (cls != null) {
|
if (cls != null) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue