Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToni Suter2016-09-16 06:01:06 +0000
committerNathan Ridge2016-09-16 07:09:25 +0000
commit25d4502b8030063a089ba4b2f5e54aa87374ade4 (patch)
tree79c2b79c0243c4afa7ce1e7b87d4fe09c451d409 /lrparser
parent46d0c9633bc35321e8ee475636da00b3874b1a56 (diff)
downloadorg.eclipse.cdt-25d4502b8030063a089ba4b2f5e54aa87374ade4.tar.gz
org.eclipse.cdt-25d4502b8030063a089ba4b2f5e54aa87374ade4.tar.xz
org.eclipse.cdt-25d4502b8030063a089ba4b2f5e54aa87374ade4.zip
Bug 490475. Support the evaluation of C++14 constexpr functions
Change-Id: I05029f26b6d33cbeeab8138a270b38c4018b64b5 Signed-off-by: Toni Suter <tsuter@hsr.ch> Signed-off-by: Silvano Brugnoni <sbrugnon@hsr.ch>
Diffstat (limited to 'lrparser')
-rw-r--r--lrparser/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Enumerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/lrparser/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Enumerator.java b/lrparser/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Enumerator.java
index a7a75b249e5..121f07ba4fb 100644
--- a/lrparser/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Enumerator.java
+++ b/lrparser/org.eclipse.cdt.core.lrparser/old/org/eclipse/cdt/internal/core/dom/lrparser/c99/bindings/C99Enumerator.java
@@ -17,7 +17,7 @@ import org.eclipse.cdt.core.dom.ast.IScope;
import org.eclipse.cdt.core.dom.ast.IType;
import org.eclipse.cdt.core.dom.ast.IValue;
import org.eclipse.cdt.internal.core.dom.Linkage;
-import org.eclipse.cdt.internal.core.dom.parser.Value;
+import org.eclipse.cdt.internal.core.dom.parser.IntegralValue;
import org.eclipse.core.runtime.PlatformObject;
@SuppressWarnings("restriction")
@@ -82,6 +82,6 @@ public class C99Enumerator extends PlatformObject implements IC99Binding, IEnume
@Override
public IValue getValue() {
- return Value.UNKNOWN;
+ return IntegralValue.UNKNOWN;
}
}

Back to the top