Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
authorSergey Prigogin2012-05-16 20:27:59 +0000
committerSergey Prigogin2012-05-16 20:27:59 +0000
commite55325538485fe691418c4b50c7a4d947239d95c (patch)
treea6dbf1d10d7052ae4d2cf263cd8770000a1a8c91 /xlc
parenta37a37d4c1a8ddfdd70645e36706cf4ca5280d85 (diff)
downloadorg.eclipse.cdt-e55325538485fe691418c4b50c7a4d947239d95c.tar.gz
org.eclipse.cdt-e55325538485fe691418c4b50c7a4d947239d95c.tar.xz
org.eclipse.cdt-e55325538485fe691418c4b50c7a4d947239d95c.zip
Bug 332829. Parsing support for constexpr keyword. Also added few
new C++11 keywords.
Diffstat (limited to 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/internal/core/lrparser/xlc/ast/XlcCPPASTVectorTypeSpecifier.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/internal/core/lrparser/xlc/ast/XlcCPPASTVectorTypeSpecifier.java b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/internal/core/lrparser/xlc/ast/XlcCPPASTVectorTypeSpecifier.java
index f3036b962af..1b865bbda59 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/internal/core/lrparser/xlc/ast/XlcCPPASTVectorTypeSpecifier.java
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc/parser/org/eclipse/cdt/internal/core/lrparser/xlc/ast/XlcCPPASTVectorTypeSpecifier.java
@@ -30,12 +30,8 @@ public class XlcCPPASTVectorTypeSpecifier extends CPPASTSimpleDeclSpecifier impl
@Override
public XlcCPPASTVectorTypeSpecifier copy(CopyStyle style) {
XlcCPPASTVectorTypeSpecifier copy = new XlcCPPASTVectorTypeSpecifier();
- copySimpleDeclSpec(copy, style);
copy.isPixel = isPixel;
- if(style == CopyStyle.withLocations) {
- copy.setCopyLocation(this);
- }
- return copy;
+ return copy(copy, style);
}
public boolean isPixel() {

Back to the top