1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 06:05:24 +02:00

Bug 395243. Fall back to the simplified type if the original type of a

template argument could not be stored in the index.
This commit is contained in:
Sergey Prigogin 2013-01-07 14:57:19 -08:00
parent fb5f1bd39d
commit f9498e093a

View file

@ -214,7 +214,7 @@ public final class TypeMarshalBuffer implements ITypeMarshalBuffer {
fPos--;
IType type = unmarshalType();
IType originalType = unmarshalType();
if (originalType == null)
if (originalType == null || originalType == UNSTORABLE_TYPE_PROBLEM)
originalType= type;
return new CPPTemplateTypeArgument(type, originalType);
}