mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Removed two meaningless TODOs.
This commit is contained in:
parent
7303489198
commit
78ec2a3f68
1 changed files with 3 additions and 4 deletions
|
@ -32,6 +32,7 @@ import static org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression.op_is_union;
|
|||
import static org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression.op_sizeof;
|
||||
import static org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression.op_typeid;
|
||||
import static org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression.op_typeof;
|
||||
import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.TDEF;
|
||||
|
||||
import org.eclipse.cdt.core.dom.ast.IASTArraySubscriptExpression;
|
||||
import org.eclipse.cdt.core.dom.ast.IASTBinaryExpression;
|
||||
|
@ -76,8 +77,6 @@ import org.eclipse.cdt.internal.core.parser.scanner.ExpressionEvaluator.EvalExce
|
|||
import org.eclipse.cdt.internal.core.pdom.db.TypeMarshalBuffer;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
import static org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.SemanticUtil.TDEF;
|
||||
|
||||
/**
|
||||
* Represents values of variables, enumerators or expressions. The primary purpose of
|
||||
* the representation is to support instantiation of templates with non-type template parameters.
|
||||
|
@ -301,7 +300,7 @@ public class Value implements IValue {
|
|||
case op_alignof:
|
||||
return getAlignment(type, point);
|
||||
case op_typeid:
|
||||
break; // TODO(sprigogin): Implement
|
||||
break;
|
||||
case op_has_nothrow_copy:
|
||||
break; // TODO(sprigogin): Implement
|
||||
case op_has_nothrow_constructor:
|
||||
|
@ -343,7 +342,7 @@ public class Value implements IValue {
|
|||
return type instanceof ICompositeType &&
|
||||
((ICompositeType) type).getKey() == ICompositeType.k_union ? 1 : 0;
|
||||
case op_typeof:
|
||||
break; // TODO(sprigogin): Implement
|
||||
break;
|
||||
}
|
||||
return VALUE_CANNOT_BE_DETERMINED;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue