mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
CCE in composite index, bug 278206.
This commit is contained in:
parent
ef3dcbc656
commit
4d40ea0bfd
1 changed files with 6 additions and 2 deletions
|
@ -94,8 +94,12 @@ public class TemplateInstanceUtil {
|
||||||
if (arg.isNonTypeValue()) {
|
if (arg.isNonTypeValue()) {
|
||||||
return arg;
|
return arg;
|
||||||
}
|
}
|
||||||
IType t= cf.getCompositeType((IIndexType) arg.getTypeValue());
|
final IType typeValue = arg.getTypeValue();
|
||||||
return new CPPTemplateArgument(t);
|
if (typeValue instanceof IIndexType) {
|
||||||
|
IType t= cf.getCompositeType((IIndexType) typeValue);
|
||||||
|
return new CPPTemplateArgument(t);
|
||||||
|
}
|
||||||
|
return arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
Loading…
Add table
Reference in a new issue