mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Removed a redundant check.
This commit is contained in:
parent
066be2ffce
commit
201e1243dd
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ import org.eclipse.cdt.internal.core.dom.parser.Value;
|
|||
import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPTemplateNonTypeArgument;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.CPPTemplateTypeArgument;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation;
|
||||
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil;
|
||||
import org.eclipse.cdt.internal.core.pdom.dom.PDOMLinkage;
|
||||
import org.eclipse.cdt.internal.core.pdom.dom.PDOMNode;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
@ -216,7 +215,7 @@ public final class TypeMarshalBuffer implements ITypeMarshalBuffer {
|
|||
fPos = oldPos;
|
||||
IType type = unmarshalType();
|
||||
IType originalType = unmarshalType();
|
||||
if (originalType == null || !SemanticUtil.isValidType(originalType))
|
||||
if (originalType == null)
|
||||
originalType= type;
|
||||
return new CPPTemplateTypeArgument(type, originalType);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue