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:
parent
0ad62535c1
commit
83f2b36073
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue