Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2013-08-30 12:51:00 -0400
committerSergey Prigogin2013-08-30 13:04:52 -0400
commit9d834b73ca846ee3734b2e43457a94b0a3592cc0 (patch)
treee19a2f6aac39ed873eff651e212075ee862fd460
parentff31d490218d5bc8942a3734e2f5dd3096fc39b5 (diff)
downloadorg.eclipse.cdt-9d834b73ca846ee3734b2e43457a94b0a3592cc0.tar.gz
org.eclipse.cdt-9d834b73ca846ee3734b2e43457a94b0a3592cc0.tar.xz
org.eclipse.cdt-9d834b73ca846ee3734b2e43457a94b0a3592cc0.zip
Removed two meaningless TODOs.
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/Value.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/Value.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/Value.java
index 66752270d3..ba209e681c 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/Value.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/Value.java
@@ -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;
}

Back to the top