Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2015-12-17 22:35:40 +0000
committerGerrit Code Review @ Eclipse.org2015-12-18 00:10:51 +0000
commit393d36fc3ebcf40e2ddaa8d8e56363a092d99e2a (patch)
treecf548621d45b3e4decdab05e8d65c0039f5c39eb /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java
parenta43976b8826cffde7cf801cf7929dab3448c662d (diff)
downloadorg.eclipse.cdt-393d36fc3ebcf40e2ddaa8d8e56363a092d99e2a.tar.gz
org.eclipse.cdt-393d36fc3ebcf40e2ddaa8d8e56363a092d99e2a.tar.xz
org.eclipse.cdt-393d36fc3ebcf40e2ddaa8d8e56363a092d99e2a.zip
Bug 475739 - Treat C++ alignment-specifiers as attribute-specifiers
Change-Id: Ib8024a048073efe65c26c871bb3acd0f3bf2f620 Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java
new file mode 100644
index 00000000000..043c5ac6efe
--- /dev/null
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/GCCASTAttributeList.java
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2014 Institute for Software, HSR Hochschule fuer Technik
+ * Rapperswil, University of applied sciences.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Thomas Corbat (IFS) - Initial API and implementation
+ *******************************************************************************/
+package org.eclipse.cdt.internal.core.dom.parser;
+
+import org.eclipse.cdt.core.dom.ast.gnu.IGCCASTAttributeList;
+
+/**
+ * Represents a GCC attribute list, containing attributes.
+ */
+public class GCCASTAttributeList extends ASTAttributeList implements IGCCASTAttributeList {
+ @Override
+ public GCCASTAttributeList copy(CopyStyle style) {
+ return copy(new GCCASTAttributeList(), style);
+ }
+
+ @Override
+ public GCCASTAttributeList copy() {
+ return copy(CopyStyle.withoutLocations);
+ }
+}

Back to the top