Skip to main content
summaryrefslogtreecommitdiffstats
path: root/upc
diff options
context:
space:
mode:
authorMarkus Schorn2009-11-24 05:53:12 -0500
committerMarkus Schorn2009-11-24 05:53:12 -0500
commit99148105b37df9699bdb5b4751f1ce2423318825 (patch)
treecb4a1315469adae4b6f4635d891d916554decd5d /upc
parent042f47dbef3e695a8aa7cf028587807236444308 (diff)
downloadorg.eclipse.cdt-99148105b37df9699bdb5b4751f1ce2423318825.tar.gz
org.eclipse.cdt-99148105b37df9699bdb5b4751f1ce2423318825.tar.xz
org.eclipse.cdt-99148105b37df9699bdb5b4751f1ce2423318825.zip
RValue References: Implementation and testcases, bug 294730.
Diffstat (limited to 'upc')
-rw-r--r--upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
index 1e3b45d7ee..1e9a566f46 100644
--- a/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
+++ b/upc/org.eclipse.cdt.core.parser.upc/src/org/eclipse/cdt/internal/core/dom/parser/upc/ast/UPCASTKeywordExpression.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006, 2008 IBM Corporation and others.
+ * Copyright (c) 2006, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -11,7 +11,6 @@
package org.eclipse.cdt.internal.core.dom.parser.upc.ast;
import org.eclipse.cdt.core.dom.ast.ASTVisitor;
-import org.eclipse.cdt.core.dom.ast.IBasicType;
import org.eclipse.cdt.core.dom.ast.IType;
import org.eclipse.cdt.core.dom.ast.IBasicType.Kind;
import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression;
@@ -50,7 +49,10 @@ public class UPCASTKeywordExpression extends ASTNode implements IUPCASTKeywordEx
return new CBasicType(Kind.eInt, 0, this);
}
-
+ public boolean isLValue() {
+ return false;
+ }
+
@Override
public boolean accept(ASTVisitor visitor) {
if(visitor.shouldVisitExpressions) {

Back to the top