1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-10 18:45:26 +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 0ad62535c1
commit 83f2b36073

View file

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