diff options
57 files changed, 0 insertions, 5143 deletions
diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath b/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath deleted file mode 100644 index 751c8f2e504..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry kind="src" path="src"/> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> - <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> - <classpathentry kind="output" path="bin"/> -</classpath> diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/.project b/upc/org.eclipse.cdt.core.parser.upc.tests/.project deleted file mode 100644 index 5ccd5d6305e..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.cdt.core.parser.upc.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF b/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 08c8d4ec5a2..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %Bundle-Name.0 -Bundle-SymbolicName: org.eclipse.cdt.core.parser.upc.tests -Bundle-Version: 4.0.0.qualifier -Require-Bundle: org.eclipse.core.runtime, - org.junit, - org.eclipse.cdt.core.parser.c99, - org.eclipse.cdt.core.tests, - org.eclipse.cdt.core, - org.eclipse.core.resources, - org.eclipse.cdt.core.parser.c99.tests, - org.eclipse.cdt.core.parser.upc -Eclipse-LazyStart: false -Bundle-Vendor: %Bundle-Vendor.0 -Bundle-Localization: plugin diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/about.html b/upc/org.eclipse.cdt.core.parser.upc.tests/about.html deleted file mode 100644 index 9b669c2fd0c..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/about.html +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head> - -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>February 8, 2007</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> - -</body></html>
\ No newline at end of file diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties b/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties deleted file mode 100644 index 185a840ec69..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/build.properties +++ /dev/null @@ -1,16 +0,0 @@ -############################################################################### -# Copyright (c) 2007 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - about.html,\ - plugin.properties diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties b/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties deleted file mode 100644 index 73788c4a0c7..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/plugin.properties +++ /dev/null @@ -1,15 +0,0 @@ -############################################################################### -# Copyright (c) 2007 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# properties file for org.eclipse.cdt.core.parser.c99.tests -Bundle-Vendor.0 = Eclipse.org -Bundle-Name.0 = C99 Parser Tests Plug-in - -upcSourceName=UPC Source File
\ No newline at end of file diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java deleted file mode 100644 index eb8a7ec788e..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/AutomatedIntegrationSuite.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AutomatedIntegrationSuite extends TestSuite { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(UPCC99CommentTests.class); - suite.addTestSuite(UPCC99CompletionBasicTest.class); - suite.addTestSuite(UPCC99CompletionParseTest.class); - suite.addTestSuite(UPCC99DOMLocationInclusionTests.class); - suite.addTestSuite(UPCC99DOMLocationMacroTests.class); - suite.addTestSuite(UPCC99DOMLocationTests.class); - suite.addTestSuite(UPCC99DOMPreprocessorInformationTest.class); - suite.addTestSuite(UPCC99KnRTests.class); - suite.addTestSuite(UPCC99SelectionParseTest.class); - suite.addTestSuite(UPCC99SpecTests.class); - suite.addTestSuite(UPCC99Tests.class); - suite.addTestSuite(UPCLanguageExtensionTests.class); - suite.addTestSuite(UPCC99DigraphTrigraphTests.class); - suite.addTestSuite(UPCC99GCCTests.class); - suite.addTestSuite(UPCC99UtilOldTests.class); - suite.addTestSuite(UPCC99UtilTests.class); - suite.addTestSuite(UPCC99CompleteParser2Tests.class); - suite.addTestSuite(UPCC99TaskParserTest.class); - - return suite; - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java deleted file mode 100644 index 0a2805b8daf..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CommentTests.java +++ /dev/null @@ -1,22 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99CommentTests; - -public class UPCC99CommentTests extends C99CommentTests { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java deleted file mode 100644 index ac2577df7cc..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompleteParser2Tests.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99CompleteParser2Tests; - -public class UPCC99CompleteParser2Tests extends C99CompleteParser2Tests { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java deleted file mode 100644 index c05247bab9a..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionBasicTest.java +++ /dev/null @@ -1,25 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.c99.C99Language; -import org.eclipse.cdt.core.parser.c99.tests.C99CompletionBasicTest; - -public class UPCC99CompletionBasicTest extends C99CompletionBasicTest { - - public UPCC99CompletionBasicTest() { } - - protected BaseExtensibleLanguage getLanguage() { - return C99Language.getDefault(); - } - -}
\ No newline at end of file diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java deleted file mode 100644 index f704f9647f8..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99CompletionParseTest.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99CompletionParseTest; - -public class UPCC99CompletionParseTest extends C99CompletionParseTest { - - public UPCC99CompletionParseTest() { } - public UPCC99CompletionParseTest(String name) { super(name); } - - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java deleted file mode 100644 index 4214d2d3be9..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationInclusionTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationInclusionTests; - -public class UPCC99DOMLocationInclusionTests extends C99DOMLocationInclusionTests { - - public UPCC99DOMLocationInclusionTests() { - } - - public UPCC99DOMLocationInclusionTests(String name, Class className) { - super(name, className); - } - - public UPCC99DOMLocationInclusionTests(String name) { - super(name); - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java deleted file mode 100644 index b8eb51ea06a..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationMacroTests.java +++ /dev/null @@ -1,25 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationMacroTests; - -public class UPCC99DOMLocationMacroTests extends C99DOMLocationMacroTests { - - public UPCC99DOMLocationMacroTests() { - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java deleted file mode 100644 index 38417ae403e..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMLocationTests.java +++ /dev/null @@ -1,29 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99DOMLocationTests; - -public class UPCC99DOMLocationTests extends C99DOMLocationTests { - - public UPCC99DOMLocationTests() { - } - - public UPCC99DOMLocationTests(String name) { - super(name); - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java deleted file mode 100644 index b367fad8387..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DOMPreprocessorInformationTest.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99DOMPreprocessorInformationTest; - -public class UPCC99DOMPreprocessorInformationTest extends C99DOMPreprocessorInformationTest { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java deleted file mode 100644 index fad52a79592..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99DigraphTrigraphTests.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99DigraphTrigraphTests; - - -public class UPCC99DigraphTrigraphTests extends C99DigraphTrigraphTests { - - public UPCC99DigraphTrigraphTests() { } - public UPCC99DigraphTrigraphTests(String name) { super(name); } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java deleted file mode 100644 index 713ec1a80ae..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99GCCTests.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99GCCTests; - -public class UPCC99GCCTests extends C99GCCTests { - - public UPCC99GCCTests() { - } - - public UPCC99GCCTests(String message) { - super(message); - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java deleted file mode 100644 index 3bd637ca4a4..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99KnRTests.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99KnRTests; - -public class UPCC99KnRTests extends C99KnRTests { - - public UPCC99KnRTests() { - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java deleted file mode 100644 index 829ed9c1bff..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SelectionParseTest.java +++ /dev/null @@ -1,26 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99SelectionParseTest; - -public class UPCC99SelectionParseTest extends C99SelectionParseTest { - - public UPCC99SelectionParseTest() { } - public UPCC99SelectionParseTest(String name) { super(name); } - - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java deleted file mode 100644 index 0649e3c6bdc..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99SpecTests.java +++ /dev/null @@ -1,30 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99SpecTests; - -public class UPCC99SpecTests extends C99SpecTests { - - public UPCC99SpecTests() { - } - - public UPCC99SpecTests(String name) { - super(name); - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java deleted file mode 100644 index bce6d652516..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99TaskParserTest.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99TaskParserTest; - -public class UPCC99TaskParserTest extends C99TaskParserTest { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java deleted file mode 100644 index 6869ea78f50..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99Tests.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import junit.framework.TestSuite; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99Tests; -/** - * Run the C99 tests against the UPC parser - * - */ -public class UPCC99Tests extends C99Tests { - - public static TestSuite suite() { - return suite(UPCC99Tests.class); - } - - public UPCC99Tests(String name) { - super(name); - } - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java deleted file mode 100644 index f4f9a9bbc68..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilOldTests.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99UtilOldTests; - -public class UPCC99UtilOldTests extends C99UtilOldTests { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java deleted file mode 100644 index ac174646d32..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCC99UtilTests.java +++ /dev/null @@ -1,23 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.parser.c99.tests.C99UtilTests; - -public class UPCC99UtilTests extends C99UtilTests { - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - -} diff --git a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java b/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java deleted file mode 100644 index e8f94745354..00000000000 --- a/upc/org.eclipse.cdt.core.parser.upc.tests/src/org/eclipse/cdt/core/parser/upc/tests/UPCLanguageExtensionTests.java +++ /dev/null @@ -1,517 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.core.parser.upc.tests; - -import junit.framework.TestCase; - -import org.eclipse.cdt.core.dom.ast.IASTArrayDeclarator; -import org.eclipse.cdt.core.dom.ast.IASTArrayModifier; -import org.eclipse.cdt.core.dom.ast.IASTArraySubscriptExpression; -import org.eclipse.cdt.core.dom.ast.IASTBinaryExpression; -import org.eclipse.cdt.core.dom.ast.IASTCompoundStatement; -import org.eclipse.cdt.core.dom.ast.IASTDeclaration; -import org.eclipse.cdt.core.dom.ast.IASTDeclarationStatement; -import org.eclipse.cdt.core.dom.ast.IASTDeclarator; -import org.eclipse.cdt.core.dom.ast.IASTExpressionStatement; -import org.eclipse.cdt.core.dom.ast.IASTFunctionDefinition; -import org.eclipse.cdt.core.dom.ast.IASTIdExpression; -import org.eclipse.cdt.core.dom.ast.IASTLiteralExpression; -import org.eclipse.cdt.core.dom.ast.IASTName; -import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclSpecifier; -import org.eclipse.cdt.core.dom.ast.IASTSimpleDeclaration; -import org.eclipse.cdt.core.dom.ast.IASTStatement; -import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; -import org.eclipse.cdt.core.dom.ast.IASTTypeIdExpression; -import org.eclipse.cdt.core.dom.ast.IASTUnaryExpression; -import org.eclipse.cdt.core.dom.ast.IScope; -import org.eclipse.cdt.core.dom.ast.IVariable; -import org.eclipse.cdt.core.dom.c99.BaseExtensibleLanguage; -import org.eclipse.cdt.core.dom.upc.UPCLanguage; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTDeclSpecifier; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTForallStatement; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTKeywordExpression; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSimpleDeclSpecifier; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSizeofExpression; -import org.eclipse.cdt.core.dom.upc.ast.IUPCASTSynchronizationStatement; -import org.eclipse.cdt.core.parser.c99.tests.ParseHelper; -import org.eclipse.cdt.internal.core.parser.ParserException; - -public class UPCLanguageExtensionTests extends TestCase { - - public UPCLanguageExtensionTests() { - } - - public UPCLanguageExtensionTests(String name) { - super(name); - } - - - protected BaseExtensibleLanguage getLanguage() { - return UPCLanguage.getDefault(); - } - - // test problem-free parsing of UPC constructs (maily declarations) - // test the AST is correct - // test that binding resolution works - - private IASTTranslationUnit parseAndCheckBindings(String code) throws ParserException { - return ParseHelper.parse(code, getLanguage(), true, true, 0 ); - } - - - private IASTTranslationUnit parse(String code) throws ParserException { - return ParseHelper.parse(code, getLanguage(), true, false, 0 ); - } - - - public void testUPCSharedDeclarations1() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("shared int a [100+THREADS];\n");//$NON-NLS-1$ - sb.append("shared [] int b [THREADS];\n");//$NON-NLS-1$ - sb.append("shared [90] int c [10];\n");//$NON-NLS-1$ - sb.append("shared [*] int d [];\n");//$NON-NLS-1$ - sb.append("relaxed int x;");//$NON-NLS-1$ - sb.append("strict int y;");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parseAndCheckBindings(code); - IScope globalScope = tu.getScope(); - assertNotNull(globalScope); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(6, declarations.length); - - // shared int a [100+THREADS]; - IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration) declarations[0]; - IUPCASTSimpleDeclSpecifier declspec_a = (IUPCASTSimpleDeclSpecifier) decl_a.getDeclSpecifier(); - assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_a.getReferenceType()); - assertEquals(IUPCASTDeclSpecifier.sh_shared_default_block_size, declspec_a.getSharedQualifier()); - assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_a.getType()); - assertNull(declspec_a.getBlockSizeExpression()); - IASTDeclarator[] declarators = decl_a.getDeclarators(); - assertNotNull(declarators); - assertEquals(1, declarators.length); - IASTArrayDeclarator declarator_a = (IASTArrayDeclarator) declarators[0]; - IASTName name_a = declarator_a.getName(); - assertEquals("a", name_a.toString());//$NON-NLS-1$ - IASTArrayModifier[] array_modifiers = declarator_a.getArrayModifiers(); - assertNotNull(array_modifiers); - assertEquals(1, array_modifiers.length); - IASTBinaryExpression expr = (IASTBinaryExpression) array_modifiers[0].getConstantExpression(); - IUPCASTKeywordExpression threads = (IUPCASTKeywordExpression) expr.getOperand2(); - assertEquals(IUPCASTKeywordExpression.kw_threads, threads.getKeywordKind()); - - // shared [] int b [THREADS]; - IASTSimpleDeclaration decl_b = (IASTSimpleDeclaration) declarations[1]; - IUPCASTSimpleDeclSpecifier declspec_b = (IUPCASTSimpleDeclSpecifier) decl_b.getDeclSpecifier(); - assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_b.getReferenceType()); - assertEquals(IUPCASTDeclSpecifier.sh_shared_indefinite_allocation, declspec_b.getSharedQualifier()); - assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_b.getType()); - assertNull(declspec_b.getBlockSizeExpression()); - declarators = decl_b.getDeclarators(); - assertNotNull(declarators); - assertEquals(1, declarators.length); - IASTArrayDeclarator declarator_b = (IASTArrayDeclarator) declarators[0]; - IASTName name_b = declarator_b.getName(); - assertEquals("b", name_b.toString());//$NON-NLS-1$ - array_modifiers = declarator_b.getArrayModifiers(); - assertNotNull(array_modifiers); - assertEquals(1, array_modifiers.length); - threads = (IUPCASTKeywordExpression) array_modifiers[0].getConstantExpression(); - assertEquals(IUPCASTKeywordExpression.kw_threads, threads.getKeywordKind()); - - // shared [90] int c [10]; - IASTSimpleDeclaration decl_c = (IASTSimpleDeclaration) declarations[2]; - IUPCASTSimpleDeclSpecifier declspec_c = (IUPCASTSimpleDeclSpecifier) decl_c.getDeclSpecifier(); - assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_c.getReferenceType()); - assertEquals(IUPCASTDeclSpecifier.sh_shared_constant_expression, declspec_c.getSharedQualifier()); - assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_c.getType()); - IASTLiteralExpression literalExpr = (IASTLiteralExpression) declspec_c.getBlockSizeExpression(); - declarators = decl_c.getDeclarators(); - assertNotNull(declarators); - assertEquals(1, declarators.length); - IASTArrayDeclarator declarator_c = (IASTArrayDeclarator) declarators[0]; - IASTName name_c = declarator_c.getName(); - assertEquals("c", name_c.toString());//$NON-NLS-1$ - array_modifiers = declarator_c.getArrayModifiers(); - assertNotNull(array_modifiers); - assertEquals(1, array_modifiers.length); - assertNotNull(array_modifiers[0].getConstantExpression()); - - // shared [*] int d []; - IASTSimpleDeclaration decl_d = (IASTSimpleDeclaration) declarations[3]; - IUPCASTSimpleDeclSpecifier declspec_d = (IUPCASTSimpleDeclSpecifier) decl_d.getDeclSpecifier(); - assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_d.getReferenceType()); - assertEquals(IUPCASTDeclSpecifier.sh_shared_pure_allocation, declspec_d.getSharedQualifier()); - assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_d.getType()); - assertNull(declspec_d.getBlockSizeExpression()); - declarators = decl_d.getDeclarators(); - assertNotNull(declarators); - assertEquals(1, declarators.length); - IASTArrayDeclarator declarator_d = (IASTArrayDeclarator) declarators[0]; - IASTName name_d = declarator_d.getName(); - assertEquals("d", name_d.toString());//$NON-NLS-1$ - array_modifiers = declarator_d.getArrayModifiers(); - assertNotNull(array_modifiers); - assertEquals(1, array_modifiers.length); - assertNull(array_modifiers[0].getConstantExpression()); - - IASTSimpleDeclaration decl_x = (IASTSimpleDeclaration) declarations[4]; - IUPCASTSimpleDeclSpecifier declspec_x = (IUPCASTSimpleDeclSpecifier) decl_x.getDeclSpecifier(); - assertEquals(IUPCASTSimpleDeclSpecifier.rt_relaxed, declspec_x.getReferenceType()); - - IASTSimpleDeclaration decl_y = (IASTSimpleDeclaration) declarations[5]; - IUPCASTSimpleDeclSpecifier declspec_y = (IUPCASTSimpleDeclSpecifier) decl_y.getDeclSpecifier(); - assertEquals(IUPCASTSimpleDeclSpecifier.rt_strict, declspec_y.getReferenceType()); - - - IVariable binding_a = (IVariable) name_a.resolveBinding(); - assertNotNull(binding_a); - assertEquals(globalScope, binding_a.getScope()); - - IVariable binding_b = (IVariable) name_a.resolveBinding(); - assertNotNull(binding_b); - assertEquals(globalScope, binding_b.getScope()); - - IVariable binding_c = (IVariable) name_a.resolveBinding(); - assertNotNull(binding_c); - assertEquals(globalScope, binding_c.getScope()); - - IVariable binding_d = (IVariable) name_a.resolveBinding(); - assertNotNull(binding_d); - assertEquals(globalScope, binding_d.getScope()); - - } - - - - public void testUPCSharedDeclarations2() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int x = 10;");//$NON-NLS-1$ - sb.append("shared [x] int a [];\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parseAndCheckBindings(code); - IScope globalScope = tu.getScope(); - assertNotNull(globalScope); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(2, declarations.length); - - IASTSimpleDeclaration decl_x = (IASTSimpleDeclaration) declarations[0]; - - // shared [x] int a []; - IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration) declarations[1]; - IUPCASTSimpleDeclSpecifier declspec_a = (IUPCASTSimpleDeclSpecifier) decl_a.getDeclSpecifier(); - assertEquals(IUPCASTDeclSpecifier.rt_unspecified, declspec_a.getReferenceType()); - assertEquals(IUPCASTDeclSpecifier.sh_shared_constant_expression, declspec_a.getSharedQualifier()); - assertEquals(IASTSimpleDeclSpecifier.t_int, declspec_a.getType()); - IASTIdExpression expr_x = (IASTIdExpression) declspec_a.getBlockSizeExpression(); - - IASTName name_x = expr_x.getName(); - IVariable binding_x = (IVariable) name_x.resolveBinding(); - assertNotNull(binding_x); - assertEquals(decl_x.getDeclarators()[0].getName().resolveBinding(), binding_x); - } - - - - public void testUPCForall1() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int main() {\n");//$NON-NLS-1$ - sb.append(" int i;\n");//$NON-NLS-1$ - sb.append(" shared float *a;\n");//$NON-NLS-1$ - sb.append(" upc_forall(i=0; i<N; i++; &a[i]) { \n");//$NON-NLS-1$ - sb.append(" a[i] = 99; \n");//$NON-NLS-1$ - sb.append(" } \n");//$NON-NLS-1$ - sb.append("}\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parse(code); - - IScope globalScope = tu.getScope(); - assertNotNull(globalScope); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(1, declarations.length); - - IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0]; - IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements(); - assertEquals(3, body.length); - - IASTSimpleDeclaration decl_i = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[0]).getDeclaration(); - IVariable binding_i = (IVariable) decl_i.getDeclarators()[0].getName().resolveBinding(); - - IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[1]).getDeclaration(); - IVariable binding_a = (IVariable) decl_a.getDeclarators()[0].getName().resolveBinding(); - - IUPCASTForallStatement forall = (IUPCASTForallStatement) body[2]; - - IASTBinaryExpression expr1 = (IASTBinaryExpression)((IASTExpressionStatement)forall.getInitializerStatement()).getExpression(); - IASTName name_i_1 = ((IASTIdExpression)expr1.getOperand1()).getName(); - - IASTBinaryExpression expr2 = (IASTBinaryExpression)forall.getConditionExpression(); - IASTName name_i_2 = ((IASTIdExpression)expr2.getOperand1()).getName(); - - IASTUnaryExpression expr3 = (IASTUnaryExpression)forall.getIterationExpression(); - IASTName name_i_3 = ((IASTIdExpression)expr3.getOperand()).getName(); - - IASTUnaryExpression expr4 = (IASTUnaryExpression)forall.getAffinityExpresiion(); - IASTName name_i_4 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getSubscriptExpression()).getName(); - IASTName name_a_1 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getArrayExpression()).getName(); - - IASTBinaryExpression expr5 = (IASTBinaryExpression)((IASTExpressionStatement)((IASTCompoundStatement)forall.getBody()).getStatements()[0]).getExpression(); - IASTName name_i_5 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getSubscriptExpression()).getName(); - IASTName name_a_2 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getArrayExpression()).getName(); - - // test binding resolution - IVariable binding_i_1 = (IVariable) name_i_1.resolveBinding(); - assertNotNull(binding_i_1); - assertEquals(binding_i, binding_i_1); - - IVariable binding_i_2 = (IVariable) name_i_2.resolveBinding(); - assertNotNull(binding_i_2); - assertEquals(binding_i, binding_i_2); - - IVariable binding_i_3 = (IVariable) name_i_3.resolveBinding(); - assertNotNull(binding_i_3); - assertEquals(binding_i, binding_i_3); - - IVariable binding_i_4 = (IVariable) name_i_4.resolveBinding(); - assertNotNull(binding_i_4); - assertEquals(binding_i, binding_i_4); - - IVariable binding_i_5 = (IVariable) name_i_5.resolveBinding(); - assertNotNull(binding_i_5); - assertEquals(binding_i, binding_i_5); - - IVariable binding_a_1 = (IVariable) name_a_1.resolveBinding(); - assertNotNull(binding_a_1); - assertEquals(binding_a, binding_a_1); - - IVariable binding_a_2 = (IVariable) name_a_2.resolveBinding(); - assertNotNull(binding_a_2); - assertEquals(binding_a, binding_a_2); - } - - - /** - * Test a declaration inside a upc_forall definition. - */ - public void testUPCForall2() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int main() {\n");//$NON-NLS-1$ - sb.append(" shared float *a;\n");//$NON-NLS-1$ - sb.append(" upc_forall(int i=0; i<N; i++; &a[i]) { \n");//$NON-NLS-1$ - sb.append(" a[i] = 99; \n");//$NON-NLS-1$ - sb.append(" } \n");//$NON-NLS-1$ - sb.append("}\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parse(code); - - IScope globalScope = tu.getScope(); - assertNotNull(globalScope); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(1, declarations.length); - - IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0]; - IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements(); - assertEquals(2, body.length); - - IASTSimpleDeclaration decl_a = (IASTSimpleDeclaration)((IASTDeclarationStatement)body[0]).getDeclaration(); - IVariable binding_a = (IVariable) decl_a.getDeclarators()[0].getName().resolveBinding(); - - IUPCASTForallStatement forall = (IUPCASTForallStatement) body[1]; - - IASTSimpleDeclaration decl_i = (IASTSimpleDeclaration)((IASTDeclarationStatement)forall.getInitializerStatement()).getDeclaration(); - IVariable binding_i = (IVariable) decl_i.getDeclarators()[0].getName().resolveBinding(); - - IASTBinaryExpression expr2 = (IASTBinaryExpression)forall.getConditionExpression(); - IASTName name_i_2 = ((IASTIdExpression)expr2.getOperand1()).getName(); - - IASTUnaryExpression expr3 = (IASTUnaryExpression)forall.getIterationExpression(); - IASTName name_i_3 = ((IASTIdExpression)expr3.getOperand()).getName(); - - IASTUnaryExpression expr4 = (IASTUnaryExpression)forall.getAffinityExpresiion(); - IASTName name_i_4 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getSubscriptExpression()).getName(); - IASTName name_a_1 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr4.getOperand()).getArrayExpression()).getName(); - - IASTBinaryExpression expr5 = (IASTBinaryExpression)((IASTExpressionStatement)((IASTCompoundStatement)forall.getBody()).getStatements()[0]).getExpression(); - IASTName name_i_5 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getSubscriptExpression()).getName(); - IASTName name_a_2 = ((IASTIdExpression)((IASTArraySubscriptExpression)expr5.getOperand1()).getArrayExpression()).getName(); - - // test binding resolution - IVariable binding_i_2 = (IVariable) name_i_2.resolveBinding(); - assertNotNull(binding_i_2); - assertEquals(binding_i, binding_i_2); - - IVariable binding_i_3 = (IVariable) name_i_3.resolveBinding(); - assertNotNull(binding_i_3); - assertEquals(binding_i, binding_i_3); - - IVariable binding_i_4 = (IVariable) name_i_4.resolveBinding(); - assertNotNull(binding_i_4); - assertEquals(binding_i, binding_i_4); - - IVariable binding_i_5 = (IVariable) name_i_5.resolveBinding(); - assertNotNull(binding_i_5); - assertEquals(binding_i, binding_i_5); - - IVariable binding_a_1 = (IVariable) name_a_1.resolveBinding(); - assertNotNull(binding_a_1); - assertEquals(binding_a, binding_a_1); - - IVariable binding_a_2 = (IVariable) name_a_2.resolveBinding(); - assertNotNull(binding_a_2); - assertEquals(binding_a, binding_a_2); - } - - /** - * Test 'continue' inside upc_forall - */ - public void testUPCForall3() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int main() {\n");//$NON-NLS-1$ - sb.append(" upc_forall(int i=0; i<N; i++; continue) { \n");//$NON-NLS-1$ - sb.append(" } \n");//$NON-NLS-1$ - sb.append("}\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parse(code); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(1, declarations.length); - - IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0]; - IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements(); - assertEquals(1, body.length); - - - IUPCASTForallStatement forall = (IUPCASTForallStatement) body[0]; - - assertTrue(forall.isAffinityContinue()); - assertNull(forall.getAffinityExpresiion()); - } - - - public void testUPCSynchronizationStatment() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int main() {\n");//$NON-NLS-1$ - sb.append(" upc_notify 1;\n");//$NON-NLS-1$ - sb.append(" upc_notify;\n");//$NON-NLS-1$ - sb.append(" upc_wait 1;\n");//$NON-NLS-1$ - sb.append(" upc_wait;\n");//$NON-NLS-1$ - sb.append(" upc_barrier 1;\n");//$NON-NLS-1$ - sb.append(" upc_barrier;\n");//$NON-NLS-1$ - sb.append(" upc_fence;\n");//$NON-NLS-1$ - sb.append("}\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parse(code); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(1, declarations.length); - - IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0]; - IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements(); - assertEquals(7, body.length); - - IUPCASTSynchronizationStatement stat; - - stat = (IUPCASTSynchronizationStatement) body[0]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_notify); - assertNotNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[1]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_notify); - assertNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[2]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_wait); - assertNotNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[3]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_wait); - assertNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[4]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_barrier); - assertNotNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[5]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_barrier); - assertNull(stat.getBarrierExpression()); - - stat = (IUPCASTSynchronizationStatement) body[6]; - assertEquals(stat.getStatementKind(), IUPCASTSynchronizationStatement.st_upc_fence); - assertNull(stat.getBarrierExpression()); - } - - public void testUPCSizeofExpressions() throws Exception { - StringBuffer sb = new StringBuffer(); - sb.append("int main() {\n");//$NON-NLS-1$ - sb.append(" sizeof(int); \n");//$NON-NLS-1$ - sb.append(" sizeof x; \n");//$NON-NLS-1$ - sb.append(" upc_localsizeof(int); \n");//$NON-NLS-1$ - sb.append(" upc_localsizeof x; \n");//$NON-NLS-1$ - sb.append(" upc_blocksizeof(int); \n");//$NON-NLS-1$ - sb.append(" upc_blocksizeof x; \n");//$NON-NLS-1$ - sb.append(" upc_elemsizeof(int); \n");//$NON-NLS-1$ - sb.append(" upc_elemsizeof x; \n");//$NON-NLS-1$ - sb.append("}\n");//$NON-NLS-1$ - String code = sb.toString(); - - IASTTranslationUnit tu = parse(code); - - IASTDeclaration[] declarations = tu.getDeclarations(); - assertNotNull(declarations); - assertEquals(1, declarations.length); - - IASTFunctionDefinition main = (IASTFunctionDefinition) declarations[0]; - IASTStatement[] body = ((IASTCompoundStatement)main.getBody()).getStatements(); - assertEquals(8, body.length); - - - - IASTTypeIdExpression idexpr = (IASTTypeIdExpression)((IASTExpressionStatement)body[0]).getExpression(); - - IASTUnaryExpression cexpr = (IASTUnaryExpression)((IASTExpressionStatement)body[1]).getExpression(); - assertEquals(IASTUnaryExpression.op_sizeof, cexpr.getOperator()); - - IUPCASTSizeofExpression expr; - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[2]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_localsizeof, expr.getUPCSizeofOperator()); - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[3]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_localsizeof, expr.getUPCSizeofOperator()); - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[4]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_blocksizeof, expr.getUPCSizeofOperator()); - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[5]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_blocksizeof, expr.getUPCSizeofOperator()); - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[6]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_elemsizeof, expr.getUPCSizeofOperator()); - - expr = (IUPCASTSizeofExpression)((IASTExpressionStatement)body[7]).getExpression(); - assertEquals(IUPCASTSizeofExpression.op_upc_elemsizeof, expr.getUPCSizeofOperator()); - } -} diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath deleted file mode 100644 index 7398f97e2d0..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry path="src" kind="src"/> - <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> - <classpathentry path="org.eclipse.pde.core.requiredPlugins" kind="con"/> - <classpathentry path="bin" kind="output"/> -</classpath> diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore deleted file mode 100644 index ba077a4031a..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -bin diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project deleted file mode 100644 index ab9159afd4b..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.cdt.errorparsers.xlc.tests</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF deleted file mode 100644 index 9aea0bd0bba..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/META-INF/MANIFEST.MF +++ /dev/null @@ -1,15 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: xlC Error Parser Tests Plug-in -Bundle-SymbolicName: org.eclipse.cdt.errorparsers.xlc.tests -Bundle-Version: 1.0.0 -Bundle-Activator: org.eclipse.cdt.errorparsers.xlc.tests.TestsPlugin -Bundle-Localization: plugin -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.cdt.errorparsers.xlc, - org.junit -Eclipse-LazyStart: true -Export-Package: org.eclipse.cdt.errorparsers.xlc.tests -Bundle-ClassPath: . -Bundle-Vendor: Eclipse.org diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html deleted file mode 100644 index f8a1ce18403..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/about.html +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head> - -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>July 24, 2006</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> - -</body></html>
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties deleted file mode 100644 index 64ed0af057d..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -bin.includes = META-INF/,\ - . -jars.compile.order = org.eclipse.cdt.errorparsers.xlc.tests.jar -src.includes = META-INF/,\ - build.properties,\ - .project,\ - .classpath -source.. = src/ diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml deleted file mode 100644 index 2407ba63304..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/plugin.xml +++ /dev/null @@ -1,2 +0,0 @@ -<plugin> -</plugin> diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java deleted file mode 100644 index 72bcdaa7f52..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/AllXlcErrorParserTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.errorparsers.xlc.tests; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllXlcErrorParserTests { - public static void main(String[] args) { - junit.textui.TestRunner.run(AllXlcErrorParserTests.suite()); - } - - public static Test suite() { - TestSuite suite = new TestSuite( - "Testsuite for xlc compiler error parser"); - //$JUnit-BEGIN$ - suite.addTestSuite(TestUndeclIdent.class); - suite.addTestSuite(TestMissingArg.class); - suite.addTestSuite(TestFloatingPoint.class); - suite.addTestSuite(TestFuncArg.class); - suite.addTestSuite(TestOperModi.class); - suite.addTestSuite(TestConditional.class); - suite.addTestSuite(TestSyntaxError.class); - suite.addTestSuite(TestNoFuncProto.class); - //$JUnit-END$ - return suite; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java deleted file mode 100644 index 0da09d25f3c..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestConditional.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - - -public class TestConditional extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Informative message generated - * by the xlc compiler is given as input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp8.c", aix.getFileName()); - assertEquals(12, aix.getLineNumber()); - assertEquals("I", aix.getSeverity()); - assertEquals(" The then branch of conditional is an empty statement.",aix.getMessage()); - } - public TestConditional( String name) - { - super(name); - err_msg = "\"temp8.c\", line 12.9: 1506-478 (I) " + - "The then branch of conditional is an empty statement."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java deleted file mode 100644 index 0460d5e5789..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFloatingPoint.java +++ /dev/null @@ -1,43 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - - -public class TestFloatingPoint extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with high severity (S) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp9.c", aix.getFileName()); - assertEquals(11, aix.getLineNumber()); - assertEquals("S", aix.getSeverity()); - assertEquals(" Floating point constant 10.23.3 is not valid", - aix.getMessage()); - } - public TestFloatingPoint( String name) - { - super(name); - err_msg = "\"temp9.c\", line 11.18: 1506-189 (S) " + - "Floating point constant 10.23.3 is not valid"; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java deleted file mode 100644 index 96b42de2242..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestFuncArg.java +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - -public class TestFuncArg extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with high severity (S) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp9.c", aix.getFileName()); - assertEquals(12, aix.getLineNumber()); - assertEquals("S", aix.getSeverity()); - assertEquals(" Function argument assignment between types " + - "\"int\" and \"char*\" is not allowed.", - aix.getMessage()); - } - public TestFuncArg( String name) - { - super(name); - err_msg = "\"temp9.c\", line 12.18: 1506-280 (S) " + - "Function argument assignment between types " + - "\"int\" and \"char*\" is not allowed."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java deleted file mode 100644 index bf2cb85eb1a..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestMissingArg.java +++ /dev/null @@ -1,42 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - - -public class TestMissingArg extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with medium severity (E) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp8.c", aix.getFileName()); - assertEquals(9, aix.getLineNumber()); - assertEquals("E", aix.getSeverity()); - assertEquals(" Missing argument(s).",aix.getMessage()); - } - public TestMissingArg( String name) - { - super(name); - err_msg = "\"temp8.c\", line 9.17: 1506-098 (E) " - + "Missing argument(s)."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java deleted file mode 100644 index c8e66ad653f..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestNoFuncProto.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - -public class TestNoFuncProto extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Warning message generated by - * xlc compiler (W) is given as input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp1.c", aix.getFileName()); - assertEquals(5, aix.getLineNumber()); - assertEquals("W", aix.getSeverity()); - assertEquals(" No function prototype given for \"printf\".",aix.getMessage()); - } - public TestNoFuncProto( String name) - { - super(name); - err_msg = "\"temp1.c\", line 5.9: 1506-304 (W) " - + "No function prototype given for \"printf\"."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java deleted file mode 100644 index aac5e04c101..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestOperModi.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - - -public class TestOperModi extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with high severity (S) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp9.c", aix.getFileName()); - assertEquals(13, aix.getLineNumber()); - assertEquals("S", aix.getSeverity()); - assertEquals(" Operand must be a modifiable lvalue.",aix.getMessage()); - } - public TestOperModi( String name) - { - super(name); - err_msg = "\"temp9.c\", line 13.9: 1506-025 (S) " + - "Operand must be a modifiable lvalue."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java deleted file mode 100644 index d71de9a2815..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestSyntaxError.java +++ /dev/null @@ -1,40 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - -public class TestSyntaxError extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with high severity (S) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp1.c", aix.getFileName()); - assertEquals(5, aix.getLineNumber()); - assertEquals("S", aix.getSeverity()); - assertEquals(" Syntax error: possible missing ')'?",aix.getMessage()); - } - public TestSyntaxError( String name) - { - super(name); - err_msg = "\"temp1.c\", line 5.1: 1506-276 (S) " - + "Syntax error: possible missing ')'?"; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java deleted file mode 100644 index d9ddcb0b67b..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestUndeclIdent.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.cdt.errorparsers.xlc.XlcErrorParser; - -import junit.framework.TestCase; - -public class TestUndeclIdent extends TestCase { - String err_msg; - /** - * This function tests parseLine function of the - * XlcErrorParser class. Error message generated by - * xlc compiler with high severity (S) is given as - * input for testing. - */ - public void testparseLine() - { - XlcErrorParser aix = new XlcErrorParser(); - aix.parseLine(err_msg); - assertEquals("temp5.c", aix.getFileName()); - assertEquals(5, aix.getLineNumber()); - assertEquals("S", aix.getSeverity()); - assertEquals(" Undeclared identifier y.",aix.getMessage()); - } - public TestUndeclIdent( String name) - { - super(name); - err_msg = "\"temp5.c\", line 5.9: 1506-045 (S) " + - "Undeclared identifier y."; - } -}
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java deleted file mode 100644 index f9d6b719eba..00000000000 --- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/src/org/eclipse/cdt/errorparsers/xlc/tests/TestsPlugin.java +++ /dev/null @@ -1,95 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.errorparsers.xlc.tests; - -import org.eclipse.ui.plugin.*; -import org.eclipse.jface.resource.ImageDescriptor; -import org.osgi.framework.BundleContext; -import java.util.*; - -/** - * The main plugin class to be used in the desktop. - */ -public class TestsPlugin extends AbstractUIPlugin { - //The shared instance. - private static TestsPlugin plugin; - //Resource bundle. - private ResourceBundle resourceBundle; - - /** - * The constructor. - */ - public TestsPlugin() { - super(); - plugin = this; - } - - /** - * This method is called upon plug-in activation - */ - public void start(BundleContext context) throws Exception { - super.start(context); - } - - /** - * This method is called when the plug-in is stopped - */ - public void stop(BundleContext context) throws Exception { - super.stop(context); - plugin = null; - resourceBundle = null; - } - - /** - * Returns the shared instance. - */ - public static TestsPlugin getDefault() { - return plugin; - } - - /** - * Returns the string from the plugin's resource bundle, - * or 'key' if not found. - */ - public static String getResourceString(String key) { - ResourceBundle bundle = TestsPlugin.getDefault().getResourceBundle(); - try { - return (bundle != null) ? bundle.getString(key) : key; - } catch (MissingResourceException e) { - return key; - } - } - - /** - * Returns the plugin's resource bundle, - */ - public ResourceBundle getResourceBundle() { - try { - if (resourceBundle == null) - resourceBundle = ResourceBundle.getBundle("org.eclipse.cdt.errorparsers.xlc.tests.TestsPluginResources"); - } catch (MissingResourceException x) { - resourceBundle = null; - } - return resourceBundle; - } - - /** - * Returns an image descriptor for the image file at the given - * plug-in relative path. - * - * @param path the path - * @return the image descriptor - */ - public static ImageDescriptor getImageDescriptor(String path) { - return AbstractUIPlugin.imageDescriptorFromPlugin("org.eclipse.cdt.errorparsers.xlc.tests", path); - } -} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath deleted file mode 100644 index 7398f97e2d0..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.classpath +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<classpath> - <classpathentry path="src" kind="src"/> - <classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/> - <classpathentry path="org.eclipse.pde.core.requiredPlugins" kind="con"/> - <classpathentry path="bin" kind="output"/> -</classpath> diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project deleted file mode 100644 index dcc854caa74..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/.project +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<projectDescription> - <name>org.eclipse.cdt.managedbuilder.xlc.ui</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>org.eclipse.jdt.core.javabuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.ManifestBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.pde.SchemaBuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>org.eclipse.pde.PluginNature</nature> - <nature>org.eclipse.jdt.core.javanature</nature> - </natures> -</projectDescription> diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF deleted file mode 100644 index 1ba4bd9d1c1..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/META-INF/MANIFEST.MF +++ /dev/null @@ -1,14 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: %pluginName -Bundle-SymbolicName: org.eclipse.cdt.managedbuilder.xlc.ui; singleton := true -Bundle-Version: 4.0.0.qualifier -Bundle-Activator: org.eclipse.cdt.managedbuilder.xlc.ui.XlcUIPlugin -Bundle-Localization: plugin -Require-Bundle: org.eclipse.ui, - org.eclipse.core.runtime, - org.eclipse.cdt.managedbuilder.core, - org.eclipse.cdt.core -Eclipse-LazyStart: true -Export-Package: org.eclipse.cdt.managedbuilder.xlc.ui -Bundle-Vendor: %providerName diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html deleted file mode 100644 index 7a28ee529ef..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.html +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> -<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head> - -<body lang="EN-US"> -<h2>About This Content</h2> - -<p>April 26, 2007</p> -<h3>License</h3> - -<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. -For purposes of the EPL, "Program" will mean the Content.</p> - -<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p> - -</body></html>
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.ini b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.ini deleted file mode 100644 index b3cd8d70ba9..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.ini +++ /dev/null @@ -1,24 +0,0 @@ -# about.ini -# contains information about a feature -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in about.properties -# This file does not need to be translated. - -# Property "aboutText" contains blurb for "About" dialog (translated) -aboutText=%blurb - -# Property "windowImage" contains path to window icon (16x16) -# needed for primary features only - -# Property "featureImage" contains path to feature image (32x32) -featureImage=eclipse32.gif - -# Property "aboutImage" contains path to product image (500x330 or 115x164) -# needed for primary features only - -# Property "appName" contains name of the application (translated) -# needed for primary features only - -# Property "welcomePerspective" contains the id of the perspective in which the -# welcome page is to be opened. -# optional diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.mappings b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.mappings deleted file mode 100644 index 0824105e69d..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.mappings +++ /dev/null @@ -1,9 +0,0 @@ -# about.mappings -# contains fill-ins for about.properties -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# This file does not need to be translated. - -# The following should contain the build version. -# e.g. "0=20020612" -# This value will be added automaticaly via the build scripts -0=@build@
\ No newline at end of file diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.properties deleted file mode 100644 index 1eeefa6beb0..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/about.properties +++ /dev/null @@ -1,25 +0,0 @@ -############################################################################### -# Copyright (c) 2007 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 -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# IBM Corporation - initial API and implementation -############################################################################### -# about.properties -# contains externalized strings for about.ini -# java.io.Properties file (ISO 8859-1 with "\" escapes) -# fill-ins are supplied by about.mappings -# This file should be translated. -# NOTE TO TRANSLATOR: Please do not translate the featureVersion variable. - - -blurb=CDT XL C/C++ Compiler Support\n\ -\n\ -Version: {featureVersion}\n\ -Build id: {0}\n\ -\n\ -(c) Copyright Eclipse contributors and others, 2007. All rights reserved.\n\ -Visit http://www.eclipse.org/cdt diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties deleted file mode 100644 index c65da7bbd43..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/build.properties +++ /dev/null @@ -1,11 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - plugin.properties,\ - plugin.xml,\ - about.html,\ - about.ini,\ - about.mappings,\ - about.properties,\ - eclipse32.gif diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/eclipse32.gif b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/eclipse32.gif Binary files differdeleted file mode 100644 index e6ad7ccd75b..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/eclipse32.gif +++ /dev/null diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties deleted file mode 100644 index 5b9604515cc..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.properties +++ /dev/null @@ -1,389 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -pluginName = XL C/C++ Managed Build Plugin -providerName = Eclipse.org - -#Build model names -TargetName.xlc.exe=Executable (XL C/C++) -TargetName.xlc.so=Shared Library (XL C/C++) -TargetName.xlc.lib=Static Library(XL C/C++) - -# Default Configuration Names -ConfigName.Rel=Release -ConfigName.Dbg=Debug - -# Generic tool-chain names -ToolChainName.Rel=XL C/C++ Tool Chain -ToolChainName.Dbg=XL C/C++ Tool Chain - -# Generic platform names -PlatformName.Rel=Release Platform -PlatformName.Dbg=Debug Platform - -# Generic builder names -BuilderName.Rel=GNU Make -BuilderName.Dbg=GNU Make - -# Tool names -ToolName.compiler.xlc.c = XL C Compiler -ToolName.compiler.xlc.cpp = XL C++ Compiler -ToolName.linker.xlc.c = XL C Executable Linker -ToolName.linker.xlc.cpp = XL C++ Executable Linker -ToolName.archiver.xlc = Archiver -ToolName.assembler.xlc = XL Assembler -ToolName.linker.xlc.cpp.so = XL C++ Shared Object Linker -ToolName.linker.xlc.c.so = XL C Shared Object Linker - -# Generic Category Names -OptionCategory.Linking = Linking -OptionCategory.Libs = Libraries and Paths -OptionCategory.ifp = Integer and Floating Point -OptionCategory.cc = Compiler Customization -OptionCategory.lm = Listings and Messages -OptionCategory.ecd = Error Checking and Debugging -OptionCategory.Input = Input Control -OptionCategory.Output = Output Control -OptionCategory.Optimize=Optimization -OptionCategory.Comp = Compatibility -OptionCategory.Misc=Miscellaneous -OptionCategory.Assembler=Assembler Options - - -# generic names used by multiple options -Option.none = none -Option.default = default - -# Miscellaneous options -Option.compiler.other = Other compiler flags - -# Input Control options -Option.Preproccomments = Preserve comments in pre-processed output (-C) -Option.DefSym = Define a macro name (-D) -Option.InclPaths = Specify an additional search path for #include s (-I) -Option.UndefSym = Undefine a macro name (-U) -Option.altivec = Enable compiler support for vector data types (-qaltivec) -Option.asm = Control the interpretation of and subsequent generation of code for asm statement (-qasm) -Option.Cstdinc = Specify C standard search location (-qc_stdinc) -Option.cppstdinc = Specify C++ standard search location (-qcpp_stdinc) -Option.qcomplexgccincl = Wrap include files in GCC pragmas (-qcomplexgccincl) -Option.Nocplus = Don't recognize C++ comments in C source files(-qnocpluscmt) -Option.Mbcs = Enable recognition of multi-byte characters (-qmbcs) -Option.Digraph = Enable recognition of digraph characters (-qdigraph) -Option.Dollar = Allow $ symbols to be used in identifiers (-qdollar) -Option.Incdirfirst = Change the search path (-qidirfirst) -Option.ignprag = Ignore certain pragmas (-qignprag=) -Option.ignprag.disjoint = disjoint -Option.ignprag.isolated = isolated -Option.ignprag.all = all -Option.ignprag.ibm = IBM® -Option.ignprag.omp = omp -Option.Keyword = Treat specified name as a keyword(-qkeyword) -Option.langlvl = Language level (-qlanglvl=) -Option.langlvl.classic = classic -Option.langlvl.extended = extended -Option.langlvl.saa = SAA -Option.langlvl.saal2 = SAA Level 2 -Option.langlvl.stdc89 = C89 standard -Option.langlvl.stdc99 = C99 standard -Option.langlvl.extc89 = C89 with extensions -Option.langlvl.extc99 = C99 with extensions -Option.langlvl.ucs = UCS -Option.Macpstr = Convert pascal string literals into null-terminated string literals (-qmacpstr) -Option.Pascal = Recognize and accept the keyword pascal (-qpascal) -Option.sourcetype = Override source type (-qsourcetype) -Option.sourcetype.c = c -Option.sourcetype.c++ = C++ -Option.sourcetype.assembler = assembler -Option.stdframework = Search standard framework directories (-qstdframework) -Option.frameworkdirs = Specify additional framework directories (-qframeworkdir) -Option.Input = Don't search the default search path directories (-qnostdinc) -Option.Warn.Syntax =Perform syntax checking without generating an object file(-qsyntaxonly) -Option.Trigraph=Recognize tri-graph key combinations -Option.Utf=Enable recognition of UTF literal syntax (-qutf) -Option.plus = Compile any file as a C++ file (-+) -Option.cinc = Insert extern "C" {} in the specified include files (-qcinc) -Option.gcc_c_stdinc = Change GCC headers search location (-qgcc_c_stdinc) -Option.gcc_cpp_stdinc = Change G++ headers search location (-qgcc_cpp_stdinc) - -# Output Control options - -Option.Trace=Preview the steps for compilation(-#) -Option.bmaxdata=Maximum size of the area shared by the static data ans the heap (-bmaxdata=) -Option.c=Pass the source files through compiler component only(-c) -Option.PreprocOnly=Preprocess the source files and create an output preprocessed source file (-E) -Option.M=Create an output file that contains targets for the make command (-M) -Option.ma=Substitute inline code for calls to alloca (-ma) -Option.o=Specify an output location for the files created by the compiler (-o) -Option.P=Preprocess the source files and create an output preprocessed source file for each source file(-P) -Option.Assem=Generate an assembler language file for each source file(-S) -Option.Strip=Strip symbol table, line number information and relocation information from source file(-s) -Option.64=Select 64-bit compiler mode(-q64) -Option.Align=Specify what alignment rules compiler uses for compilation(-qalign) -Option.Align.Full=full -Option.Align.Natural=natural -Option.Align.twobyte=two byte -Option.Align.packed=packed -Option.Align.bitpacked=bit packed -Option.alloca=Substitute inline code for calls to function alloca(-qalloca) -Option.Bitfields=Specify if bit fields are signed(-qbitfields) -Option.Bitfields.signed = signed -Option.Bitfields.unsigned = unsigned -Option.Chars=Specify if chars are signed -Option.chars.signed = signed (-qchars=signed) -Option.chars.unsigned = unsigned (-qcharse=unsigned) -Option.enablevmx=Enable generation of VMX instructions(-qenablevmx) -Option.Enum=Specify the amount of storage occupied by enumerations(-qenum=) -Option.enum.Int=Int -Option.enum.Intlong=Intlong -Option.enum.small=small -Option.enum.1=1 -Option.enum.2=2 -Option.enum.4=4 -Option.enum.8=8 -Option.Pic=Generate position independent code suitable for use in libraries(-qpic=) -Option.Pic.Small=Small -Option.Pic.Large=Large -Option.noro=Do not place string literals in read only storage (-qnoro) -Option.noroconst=Do not place constant values in read only storage (-qnoroconst) -Option.roptr=Place constant pointers in read only storage (-qroptr) -Option.Statsym=Generate symbols for static variables (-qstatsym ) -Option.xcall=Generate code to treat static functions as external functions (-qxcall ) -Option.funcset=Place instructions for each function in a separate object file control section or csect (-qfuncset) -Option.ppline=Enable generation of #line directive in the preprocessed output (-qppline) -Option.upconv=Preserve the unsigned specification when performing integral promotions (-qupconv) -Option.namemangling=Name mangling scheme for external symbol names (-qnamemangling=) -Option.namemangling.ansi = ANSI (-qnamemangling=ansi) -Option.namemangling.v6 = VisualAge® C++ v6 (-qnamemangling=v6) -Option.namemangling.v5 = VisualAge® C++ v5 (-qnamemangling=v5) -Option.namemangling.v4 = VisualAge® C++ v4 (-qnamemangling=v4) -Option.namemangling.v3 = Compatibility mode (-qnamemangling=v3) -Option.objectmodel = Object model (-qobjmodel=) -Option.objectmodel.classic = classic (-qobjmodel=classic) -Option.objectmodel.ibm = IBM® (-qobjmodel=ibm) -Option.rtti = Generate RunTime Type Information (-qrtti) -Option.rtti.all = all (-qrrti=all) -Option.rtti.type = type (-qrtti=type) -Option.rtti.dynamiccast = dynamic cast (-qrtti=dynamiccast) -Option.saveopt = Save the command line compiler options into an object file (-qsaveopt) -Option.staticinline = Treat inline functions as static (-qstaticinline) -Option.statsym = Add static variables to the symbol table (-qstatsym) -Option.threaded = Enable multi-threaded execution (-qthreaded) -Option.unique = Generate unique names for static constructor/deconstructor file compilation units (-qunique) -Option.novftable = Do not generate virtual function table (-qnovftable) -Option.vrsave = Maintain the VRSAVE register (-qvrsave) -Option.weaksymbol = Generate weak symbols (-qweaksymbol) - -# Optimization options -Option.OptLevel = Optimization level -Option.Optimize.Optimize = -O -Option.Optimize.Level2 = -O2 -Option.Optimize.Level3 = -O3 -Option.Optimize.Level4 = -O4 -Option.Optimize.Level5 = -O5 -Option.inlining = Function inlining -Option.inlining.Q = inline all functions (-Q) -Option.inlining.Qexclamation = disable inlining (-Q!) -Option.Qplus = Specify functions to be inlined(-Q+name1:name2:...:nameN) -Option.Qminus = Specify functions to not inline (-Q-name1:name2:...:nameN) -Option.aggrcopy = Enable destructive copy operations for structs and unions -Option.aggrcopy.nooverlap=no overlap (-qaggrcopy=nooverlap) -Option.aggrcopy.overlap=overlap (-qaggrcopy=overlap) -Option.alias= Apply aliasing instructions to compilation unit (-qalias=) -Option.alias.addrtaken= Variables are not disjoint from pointers (-qalias=addrtaken) -Option.alias.noaddrtaken=Variables are disjoint from pointers unless their address is taken (-qalias=notaddrtaken) -Option.alias.allptrs=Pointers are aliased (-qalias=allptrs) -Option.alias.noallptrs=Pointers are never aliased (-qalias=noallptrs) -Option.alias.ansi=Pointers can only point to an object of the same type (-qalias=ansi) -Option.alias.noansi=Pointers can point to an object of a different type (-qalias=notansi) -Option.alias.typeptr=Pointers to different types are aliased (-qalias=typeptr) -Option.alias.notypeptr=Pointers to different types are never aliased (-qalias=notypeptr) -Option.optimization.arch = Specify the processor architecture to generate code and optimize for (-qarch=) -Option.optimization.arch.ppc64 = PowerPC® 64-bit -Option.optimization.arch.ppcgr = PowerPC® with graphics instructions -Option.optimization.arch.ppc64gr = PowerPC® 64-bit with graphics instructions -Option.optimization.arch.ppc64grsq = PowerPC® 64-bit with graphics and square root instructions -Option.optimization.arch.ppc64v = PowerPC® 64-bit with AltiVec -Option.optimization.assert = Assert program behaviours (-qassert=) -Option.optimization.Cache = Specify the cache configuration (-qcache=option1:option2:...:optionN) -Option.compact = Avoid transformations that lead to code expansion (-qcompact) -Option.optimization.dataimported = Name the variables to be imported (-qdataimported=name1:name2:...:nameN) -Option.optimization.datalocal = Name the variables which are local (-qdatalocal=name1:name2:...:nameN) -Option.directstorage = Write through enabled or cache-inhibited storage may be referenced (-qdirectstorage) -Option.optimization.exceptionhandling = Exception handling -Option.optimization.exceptionhandling.eh = Enable exception handling (-qeh) -Option.optimization.exceptionhandling.noeh = Disable exception handling (-qnoeh) -Option.optimization.exceptionhandling.v5 = VisualAge® C++ v5.0 compatibility -Option.optimization.exceptionhandling.v6 = VisualAge® C++ v6.0 compatibility -Option.fdpr = Include data required by fdpr utility (-qfdpr) -Option.optimization.hot = Perform high-order loop analysis and transformations during optimization (-qhot=) -Option.ignerrno = Perform optimizations which assume errno is not modified by system calls (-qignerrno) -Option.optimization.inline = Attempt to inline functions (-qinline=) -Option.optimization.ipa = Customize interprocedural analysis optimizations(-qipa=) -Option.optimization.isolatedcall = Functions in source file that have no side effects (-qisolated_call=name1:name2:...:nameN) -Option.optimization.keepinlines = -Option.largepage = Exploit large page heaps available on POWER4(TM) systems running AIX® 5.1D or later (-qlargepage) -Option.libansi = Assume all functions in the name of ansi C function are system functions (-qlibansi) -Option.pdf1 = Tune optimizations through Profile Directed Feedback: first run (-qpdf1) -Option.pdf2 = Tune optimizations through Profile Directed Feedback: second run (-qpdf2) -Option.optimization.Prefetch = Disable generation of prefetching instructions in compiled code (-qnoprefetch) -Option.optimization.procimported = Mark functions as imported (-qprocimported=) -Option.optimization.proclocal = Mark functions as local (-qlocal=) -Option.optimization.procimported = Mark functions as imported (-qprocimported=) -Option.optimization.procunknown = Mark functions as unknown (-qprocunknown=) -Option.optimization.showpdf = Add additional call and block count profiling information to the executable (-qshowpdf) -Option.optimization.smallstack = Reduce the size of the stack frame (-qsmallstack) -Option.optimization.smp = Enable parallelization of code (-qsmp) -Option.optimization.Spill = Specify the register allocation spill area (-qspill=) -Option.optimization.Strict = Turn off aggressive optimizations (-qstrict) -Option.optimization.loopinduction = Loop induction settings -Option.optimization.loopinduction.strict_induction = Strict induction -Option.optimization.loopinduction.nostrict_induction = No induction -Option.optimization.tocdata = Mark data as local -Option.optimization.w = Specify options to pass to specific compiler components (-W) - -# Linker Options -Option.Linking.b = Control how shared objects are processed by the editor (-b) -Option.linking.brtl = Enable runtime linking for the output file (-brtl) -Option.linking.bundle = -Option.Linking.bundle_loader -Option.Linking.e = Set the entry name for the shared executable(-e ) -Option.Linking.f = -Option.linking.G = Create a shared object enabled for runtime linking (-G) -Option.Linking.L = Search the path directory for the library files specified by the -lkey option (-L) -Option.Linking.l = Search the specified library file(-l) -Option.linking.r = Produce a relocatable object (-r) -Option.Linking.Z = Specify a prefix for library search path (-Z) -Option.linking.inlglue = Generate fast external linkage (-qinlglue) -Option.linking.lib = Link with standard system libraries (-qlib) -Option.Linking.mkshrobj = Create a shared object from generated object files (-qmkshrobj) -Option.Linking.priority = Specify the priority level for initialization of static objects (-qpriority) -Option.Linker.EnableRun=Enable Run time linking (-brtl) -Option.Linker.NoStartFiles=Do not use standard start files (-nostartfiles) -Option.Linker.NoDefLibs=Do not use default libraries (-nodefaultlibs) -Option.Linker.NoStdLibs=No startup or default libs (-nostdlib) -Option.Linker.Strip=Strip all symbol information (-s) -Option.Linker.Strip.debug=Strip debug symbol information (-S) -Option.Linker.Static=No shared libraries (-bstatic) -Option.Linker.WLinker=Other options (-Wl, [option1,option2,...optionN]) -Option.Linker.Flags=Other linker flags -Option.Libs=Libraries (-l) -Option.Libsearch=Library search path (-L) -Option.UserObjs=Other objects -Option.Linker.Shared=Shared (-qmkshrobj) -Option.Linker.SOName=Shared object name (-o=) -Option.Linker.Implib=Import Library name (-Wl,--out-implib=) -Option.Linker.Defname=DEF file name (-Wl,--output-def=) -Option.linking.bundle = Create a bundle (-bundle) -Option.linking.bundle_loader = Specify the name of bundle loader program (-bundle_loader=) -Option.linking.f = Specify file containing a list of object files for the compiler to pass to the linker (-f) -Option.linking.expfile = Save all the exported symbols in the designated file (-qexpfile=) - -#Archiver options -Option.Archiver.Flags=Other archiver flags - -# Integer and Floating Point options -Option.y = Specify compile time rounding mode (-y) -Option.y.n = n -Option.y.m = m -Option.y.p = p -Option.y.z = z -Option.float = Specify floating point options (-qfloat=) -Option.flttrap = Trap floating point exceptions (-qflttrap=) -Option.longlong = Allow long long integer types in the program -Option.longlong.longlong = Allow long long (-qlonglong) -Option.longlong.nolonglong = Do not allow long long (-qnolonglong) -Option.rndflt = Control compile-time rounding mode of floating point expressions( -qrndflt) -Option.rndflt.nearest = Nearest -Option.rndflt.minusinf = Minus infinity -Option.rndflt.plusinf = Plus infinity -Option.rndflt.zero = Zero - -# Compiler Customization options -Option.B = Determine substitute program path name (-B) -Option.F = Specify alternate configuration file (-F) -Option.t = Add prefix to designated programs (-t) -Option.maxmem = Amount of memory used during optimization (-qmaxmem=) -Option.path = Alternate program name for compiler components (-qpath=) -Option.tls = Specify the thread local storage model (-qtls=) - -# Listings and Messages options -Option.V = Report information on the progress of compilation (-V) -Option.Warn.nowarn = Suppress warnings and low-level messages (-w) -Option.Warn.Pedandic=Pedantic (-pedantic) -Option.Warn.PedErrors=Pedantic warnings as errors (-pedantic-errors) -Option.Warn.nowarn=Inhibit all warnings (-w) -Option.Warn.allwarn=All warnings (-Wall) -Option.Warn.toerrs=Warnings as errors (-Werror) -Option.attr = Produce a compiler listing (-qattr) -Option.attr.noattr = Does not produce an attribute listing for identifiers in program (-qnoattr) -Option.attr.fullattr = Report attributes of all identifiers (-qattr=full) -Option.attr.attr = Report attributes of only used identifiers (-qattr) -Option.flag = Specify the minimum severity level of the diagnostic messages (-qflag=) -Option.format = Warn of possible problems with string input and output format specifications (-qformat=) -Option.halt = Instruct the compiler to stop after compilation if it encounters errors of specified severity or higher (-qhalt=) -Option.halt.information = Information (-qhalt=i) -Option.halt.warning = Warning (-qhalt=w) -Option.halt.error = Error (-qhalt=e) -Option.halt.severeError = Severe error (-qhalt=s) -Option.halt.unrecoverableError = Unrecoverable error (-qhalt=u) -Option.info = Produce informational messages (-qinfo= ) -Option.list = Produce a compiler listing that includes an object listing (-qlist) -Option.listopt = Produce a compiler listing that displays all options in effect(-qlistopt) -Option.phsinfo = Report the time taken in each compilation phase (-qphsinfo) -Option.noprint = Suppress all listings (-qnoprint ) -Option.report = Instruct the compiler to produce transformation reports (-qreport) -Option.showinc = Show all included files in the source listing (-qshowinc) -Option.source = Produce a compiler listing and include the source code (-qsource) -Option.srcmsg = Add the corresponding source code lines to the diagnostic messages in stderr file (-qsrcmsg) -Option.suppress = Suppress the specified informational or warning messages (-qsuppress=) -Option.tabsize = Change the tab-size (-qtabsize=) -Option.xref = Produce a cross reference listing of identifiers (-qxref) -Option.xref.noxref = Do not report identifiers in the program (-qnoxref) -Option.xref.fullxref = Report all the identifiers in the program (-qxref = full) -Option.xref.xref = Report only those identifiers which are used (-qxref) -Option.warnfourcharconsts = Enable warning of four-character constants in source - -# Error Checking and Debugging -Option.g = Generate debugging information (-g) -Option.DebugLevel=Debug Level -Option.Debug.Min=Minimal (-g1) -Option.Debug.Def=Default (-g) -Option.Debug.Max=Maximum (-g3) -Option.Debug.Other=Other debugging flags -Option.Debug.gprof=Generate gprof information (-pg) -Option.Debug.prof=Generate prof information (-p) -Option.Debug.Unref=Include information about unreferenced symbols (-qdbxextra) -Option.p = Generate prof information (-p) -Option.pg = Generate gprof information (-pg) -Option.check = Generate code which performs certain types of runtime checking (-qcheck) -Option.dbxextra = Include all typedefs, structs, unions, enums for debugging (-qdbxextra) -Option.extchk = Generate bind-time type checking information and check for compile time consistency (-qextchk) -Option.fullpath = Preserve absolute path name of source files used with -g option (-qfullpath) -Option.genproto = Produce ANSI prototypes from K&R definitions -Option.genproto = Generate prototypes with parameter names -Option.genproto.parmgenproto = Include parameter names in prototypes -Option.heapdebug = Enable debug versions of memory management functions (-qheapdebug) -Option.initauto = Initialize the automatic variables (-qinitauto=) -Option.linedebug = Generate line number and source file name info for the debugger (-qlinedebug) -Option.maxerr = Halt compilation after this many errors (-qmaxerr=) -Option.proto = All functions are prototyped (-qproto) - - -# Assembler options -Option.Xlc.Assembler.Flags=Other assembler flags -Option.Xlc.Assembler.warn.suppress=Suppress warnings (-W) -Option.Xlc.Assembler.version=Announce version (-v) - - - - - - diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml deleted file mode 100644 index a1b4663e79c..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/plugin.xml +++ /dev/null @@ -1,2732 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?eclipse version="3.2"?> -<plugin> - - -<!-- Managed Make Builder Tool Specifications --> - <extension - id="cdt.managed.build.info" - name="Managed Build Tools Description" - point="org.eclipse.cdt.managedbuilder.core.buildDefinitions"> - <managedBuildRevision - fileVersion="4.0.0"> - </managedBuildRevision> - - <tool - command="xlc" - id="cdt.managedbuild.tool.xlc.c.linker" - name="%ToolName.linker.xlc.c" - natureFilter="cnature" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> - - </tool> - <tool - command="xlC" - id="cdt.managedbuild.tool.xlc.cpp.linker" - name="%ToolName.linker.xlc.cpp" - natureFilter="ccnature" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> - </tool> - <tool - natureFilter="both" - isAbstract="true" - name="%ToolName.archiver.xlc" - command="ar -rv" - id="cdt.managedbuild.tool.xlc.archiver"> - <optionCategory - name="%OptionCategory.General" - id="xlc.lib.category.general"> - </optionCategory> - <option - defaultValue="-r" - name="%Option.Archiver.Flags" - category="xlc.lib.category.general" - valueType="string" - id="xlc.both.lib.option.flags"> - </option> - <inputType - sourceContentType="org.eclipse.cdt.managedbuilder.core.compiledObjectFile" - sources="o" - multipleOfType="true" - dependencyCalculator="org.eclipse.cdt.managedbuilder.makegen.internal.DefaultNoDependencyCalculator" - buildVariable="OBJS" - id="cdt.managedbuild.tool.xlc.archiver.input"> - <additionalInput - paths="$(USER_OBJS)" - kind="additionalinputdependency"> - </additionalInput> - <additionalInput - paths="$(LIBS)" - kind="additionalinput"> - </additionalInput> - </inputType> - <outputType - outputs="a" - outputPrefix="lib" - buildVariable="ARCHIVES" - nameProvider="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuLinkOutputNameProvider" - id="cdt.managedbuild.tool.xlc.archiver.output"> - </outputType> - </tool> - <tool - command="xlc" - id="cdt.managedbuild.tool.xlc.c.linker.so" - isAbstract="false" - name="%ToolName.linker.xlc.c.so" - natureFilter="cnature" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker"> - </tool> - <tool - command="xlC" - id="cdt.managedbuild.tool.xlc.cpp.linker.so" - isAbstract="false" - name="%ToolName.linker.xlc.cpp.so" - natureFilter="ccnature" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker"> - </tool> - <tool - command="as" - name="%ToolName.assembler.xlc" - outputFlag="-o" - id="cdt.managedbuild.tool.xlc.assembler" - natureFilter="both"> - <optionCategory - name="%OptionCategory.Assembler" - id="xlc.asm.category.assembler"> - </optionCategory> - <option - command="-W" - defaultValue="false" - valueType="boolean" - category="xlc.asm.category.assembler" - name="%Option.Xlc.Assembler.warn.suppress" - id="xlc.both.asm.option.warnings.nowarn"/> - <option - command="-v" - defaultValue="false" - valueType="boolean" - category="xlc.asm.category.assembler" - name="%Option.Xlc.Assembler.version" - id="xlc.both.asm.option.version"/> - <option - name="%Option.Xlc.Assembler.Flags" - category="xlc.asm.category.assembler" - valueType="string" - id="xlc.both.asm.option.flags"> - </option> - <inputType - sourceContentType="org.eclipse.cdt.core.asmSource" - sources="s,S" - id="cdt.managedbuild.tool.xlc.assembler.input"> - </inputType> - <outputType - outputs="o" - buildVariable="OBJS" - id="cdt.managedbuild.tool.xlc.assembler.output"> - </outputType> - </tool> - <tool - command="xlc" - id="cdt.managedbuild.tool.xlc.c.compiler" - isAbstract="true" - name="%ToolName.compiler.xlc.c" - natureFilter="cnature" - outputFlag="-o" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler"> - <option - name="%Option.Cstdinc" - category="xlc.c.compiler.category.Input" - command="-qc_stdinc" - id="xlc.c.compiler.option.include.cstdinc" - valueType="includePath" - browseType="directory"> - </option> - <option - defaultValue="false" - name="%Option.Nocplus" - category="xlc.c.compiler.category.Input" - command="-qnocpluscmt" - id="xlc.c.compiler.option.input.nocplus" - valueType="boolean"> - </option> - <option - browseType="directory" - category="xlc.c.compiler.category.Input" - command="-qgcc_c_stdinc" - id="xlc.c.compiler.option.input.gcc_c_stdinc" - isAbstract="false" - name="%Option.gcc_c_stdinc" - resourceFilter="all" - valueType="includePath"> - </option> - <option - defaultValue="false" - name="%Option.Pascal" - category="xlc.c.compiler.category.Input" - command="-qpascal" - id="xlc.c.compiler.option.misc.pascal" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.Warn.Syntax" - category="xlc.c.compiler.category.Input" - command="-qsyntaxonly" - id="xlc.c.compiler.option.warnings.syntax" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.ma" - category="xlc.c.compiler.category.output" - command="-ma" - id="xlc.c.compiler.option.preprocessor.ma" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qupconv" - defaultValue="false" - id="org.eclipse.cdt.managedbuilder.xlc.ui.option12" - isAbstract="false" - name="%Option.upconv" - resourceFilter="all" - valueType="boolean"> - </option> - <option - name="%Option.Qplus" - category="xlc.c.compiler.category.optimization" - command="-Q+=" - id="xlc.c.compiler.option.optimization.Qplus" - valueType="string"> - </option> - <option - name="%Option.Qminus" - category="xlc.c.compiler.category.optimization" - command="-Q-=" - id="xlc.c.compiler.option.optimization.Qminus" - valueType="string"> - </option> - <option - id="xlc.c.compiler.option.input.D.c" - superClass="xlc.c.compiler.option.input.D"> - <listOptionValue - builtIn="true" - value="__xlc__"> - </listOptionValue> - <listOptionValue - builtIn="true" - value="__IBMC__"> - </listOptionValue> - </option> - </tool> - <tool - command="xlC" - id="cdt.managedbuild.tool.xlc.cpp.compiler" - isAbstract="true" - name="%ToolName.compiler.xlc.cpp" - natureFilter="ccnature" - outputFlag="-o" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler"> - <inputType - sourceContentType="org.eclipse.cdt.core.cxxSource" - sources="c,C,cc,cxx,cpp" - dependencyContentType="org.eclipse.cdt.core.cxxHeader" - dependencyExtensions="h,H,hpp" - id="cdt.managedbuild.tool.xlc.cpp.compiler.input"> - </inputType> - <option - category="xlc.c.compiler.category.Input" - command="-+" - defaultValue="false" - id="org.eclipse.cdt.managedbuilder.xlc.cpp.option.plus" - isAbstract="false" - name="%Option.plus" - resourceFilter="all" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.Input" - command="-qcinc" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.opntion.qcinc" - isAbstract="false" - name="%Option.cinc" - resourceFilter="all" - valueType="stringList"> - </option> - <option - browseType="directory" - category="xlc.c.compiler.category.Input" - command="-qcpp_stdinc" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.cpp_stdinc" - isAbstract="false" - name="%Option.cppstdinc" - resourceFilter="all" - valueType="includePath"> - </option> - <option - category="xlc.c.compiler.category.Input" - command="-qgcc_cpp_stdinc" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.gcc_cpp_stdinc" - isAbstract="false" - name="%Option.gcc_cpp_stdinc" - resourceFilter="all" - valueType="string"> - </option> - <option - category="xlc.c.compiler.category.output" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling" - isAbstract="false" - name="%Option.namemangling" - resourceFilter="all" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnamemangling=ansi" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.ansi" - name="%Option.namemangling.ansi"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnamemangling=v6" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue22" - name="%Option.namemangling.v6"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnamemangling=v5" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v5" - name="%Option.namemangling.v5"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnamemangling=v4" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v4" - name="%Option.namemangling.v4"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnamemangling=v3" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.namemangling.v3" - name="%Option.namemangling.v3"> - </enumeratedOptionValue> - </option> - <option - category="xlc.c.compiler.category.output" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel" - isAbstract="false" - name="%Option.objectmodel" - resourceFilter="all" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qobjmodel=classic" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.classic" - name="%Option.objectmodel.classic"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qobjmodel=ibm" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.objectmodel.ibm" - name="%Option.objmodel.ibm"> - </enumeratedOptionValue> - </option> - <option - category="xlc.c.compiler.category.output" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti" - isAbstract="false" - name="%Option.rtti" - resourceFilter="all" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnortti" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.none" - isDefault="false" - name="%Option.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qrtti=all" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.all" - name="%Option.rtti.all"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qrtti=type" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.type" - name="%Option.rtti.type"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qrtti=dynamiccast" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.rtti.dynamiccast" - name="%Option.rtti.dynamiccast"> - </enumeratedOptionValue> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qunique" - defaultValue="false" - id="org.eclipse.cdt.managedbuilder.xlc.ui.cpp.option.output.unique" - isAbstract="false" - name="%Option.unique" - resourceFilter="all" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qnovftable" - defaultValue="false" - id="org.eclipse.cdt.managedbuilder.xlc.ui.option6" - isAbstract="false" - name="%Option.novftable" - resourceFilter="all" - valueType="boolean"> - </option> - <option - id="xlc.c.compiler.option.optimization.exceptionhandling" - isAbstract="false" - name="%Option.optimization.exceptionhandling" - resourceFilter="all" - valueType="enumerated"> - <enumeratedOptionValue - id="xlc.c.compiler.option.optimization.exceptionhandling.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qeh" - id="xlc.c.compiler.option.optimization.exceptionhandling.eh" - name="%Option.optimization.exceptionhandling.eh"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qnoeh" - id="xlc.c.compiler.option.optimization.exceptionhandling.noeh" - name="%Option.optimization.exceptionhandling.noeh"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qeh=v5" - id="xlc.c.compiler.option.optimization.exceptionhandling.v5" - name="%Option.optimization.exceptionhandling.v5"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qeh=v6" - id="xlc.c.compiler.option.optimization.exceptionhandling.v6" - name="%Option.optimization.exceptionhandling.v6"> - </enumeratedOptionValue> - </option> - <option - id="xlc.c.compiler.option.input.D.cpp" - superClass="xlc.c.compiler.option.input.D"> - <listOptionValue - builtIn="true" - value="__xlC__"> - </listOptionValue> - <listOptionValue - builtIn="true" - value="__IBMCPP__"> - </listOptionValue> - </option> - </tool> - - <projectType - buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" - id="cdt.managedbuild.target.xlc.exe" - isAbstract="false" - isTest="false" - name="%TargetName.xlc.exe"> - <configuration - name="%ConfigName.Dbg" - artifactExtension="exe" - cleanCommand="rm -rf" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.exe.debug"> - <toolChain - archList="all" - osList="all" - name="%ToolChainName.Dbg" - targetTool="cdt.managedbuild.tool.xlc.c.linker.exe.debug;cdt.managedbuild.tool.xlc.cpp.linker.exe.debug" - configurationEnvironmentSupplier="org.eclipse.cdt.managedbuilder.xlc.aix.AixConfigurationEnvironmentSupplier" - id="cdt.managedbuild.toolchain.xlc.exe.debug"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.exe.debug" - name="%PlatformName.Dbg" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.manangedbuilder.xlc.builder.exe.debug"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.exe.debug" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.exe.debug.option.optimization.level" - defaultValue="xlc.c.compiler.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.exe.debug.option.debugging.g" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.exe.debug" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.exe.debug.option.optimization.level" - defaultValue="xlc.c.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.exe.debug.option.debugging.g" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.linker.exe.debug" - superClass="cdt.managedbuild.tool.xlc.c.linker"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.cpp.linker.exe.debug" - superClass="cdt.managedbuild.tool.xlc.cpp.linker"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.exe.debug" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - <configuration - name="%ConfigName.Rel" - artifactExtension="exe" - cleanCommand="rm -rf" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.exe.release"> - <toolChain - archList="all" - osList="aix" - name="%ToolChainName.Rel" - targetTool="cdt.managedbuild.tool.xlc.c.linker.exe.release;cdt.managedbuild.tool.xlc.cpp.linker.exe.release" - id="cdt.managedbuild.toolchain.xlc.exe.release"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.exe.release" - name="%PlatformName.Rel" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.managedbuilder.xlc.builder.release"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.exe.release" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.exe.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.exe.release.option.debugging.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.exe.release" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.exe.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.exe.release.option.debugging.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.linker.exe.release" - superClass="cdt.managedbuild.tool.xlc.c.linker"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.cpp.linker.exe.release" - superClass="cdt.managedbuild.tool.xlc.cpp.linker"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.exe.release" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - </projectType> - - <projectType - buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.sharedLib" - id="cdt.managedbuild.target.xlc.so" - isAbstract="false" - isTest="false" - name="%TargetName.xlc.so"> - <configuration - name="%ConfigName.Dbg" - cleanCommand="rm -rf" - artifactExtension="so" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.so.debug"> - <toolChain - name="%ToolChainName.Dbg" - targetTool="cdt.managedbuild.tool.xlc.c.linker.so.debug;cdt.managedbuild.tool.xlc.cpp.linker.so.debug" - id="cdt.managedbuild.toolchain.xlc.so.debug"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.so.debug" - name="%PlatformName.Dbg" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.managedbuilder.xlc.builder.so.debug"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.so.debug" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.so.debug.option.optimization.level" - defaultValue="xlc.ccompiler.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.so.debug.option.debugging.g" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.so.debug" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.so.debug.option.optimization.level" - defaultValue="xlc.c.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.so.debug.option.debugging.g" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.linker.so.debug" - superClass="cdt.managedbuild.tool.xlc.c.linker.so"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.cpp.linker.so.debug" - superClass="cdt.managedbuild.tool.xlc.cpp.linker.so"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.so.debug" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - <configuration - name="%ConfigName.Rel" - cleanCommand="rm -rf" - artifactExtension="so" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.so.release"> - <toolChain - name="%ToolChainName.Rel" - targetTool="cdt.managedbuild.tool.xlc.c.linker.so.release;cdt.managedbuild.tool.xlc.cpp.linker.so.release" - id="cdt.managedbuild.toolchain.xlc.so.release"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.so.release" - name="%PlatformName.Rel" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.managedbuilder.xlc.builder.so.release"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.so.release" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.so.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.so.release.option.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.so.release" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.so.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.so.release.option.debugging.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.linker.so.release" - superClass="cdt.managedbuild.tool.xlc.c.linker.so"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.cpp.linker.so.release" - superClass="cdt.managedbuild.tool.xlc.cpp.linker.so"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.so.release" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - </projectType> - - <projectType - buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.staticLib" - id="cdt.managedbuild.target.xlc.lib" - isAbstract="false" - isTest="false" - name="%TargetName.xlc.lib"> - <configuration - name="%ConfigName.Dbg" - cleanCommand="rm -rf" - artifactExtension="lib" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.lib.debug"> - <toolChain - name="%ToolChainName.Dbg" - targetTool="cdt.managedbuild.tool.xlc.archiver.lib.debug" - id="cdt.managedbuild.toolchain.xlc.lib.debug"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.lib.debug" - name="%PlatformName.Dbg" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.managedbuilder.xlc.builder.lib.debug"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.lib.debug" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.lib.debug.option.optimization.level" - defaultValue="xlc.c.compiler.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.lib.debug.option.debugging.f" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.lib.debug" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.lib.debug.option.optimization.level" - defaultValue="xlc.c.optimization.level.none" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.lib.debug.option.debugging.g" - defaultValue="true" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.archiver.lib.debug" - superClass="cdt.managedbuild.tool.xlc.archiver"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.lib.debug" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - <configuration - name="%ConfigName.Rel" - cleanCommand="rm -rf" - artifactExtension="lib" - errorParsers="org.eclipse.cdt.errorparsers.xlc.XlcErrorParser" - id="cdt.managedbuild.config.xlc.lib.release"> - <toolChain - name="%ToolChainName.Rel" - targetTool="cdt.managedbuild.tool.xlc.archiver.lib.release" - id="cdt.managedbuild.toolchain.xlc.lib.release"> - <targetPlatform - id="cdt.managedbuild.target.xlc.platform.lib.release" - name="%PlatformName.Rel" - binaryParser="org.eclipse.cdt.core.XCOFF32" - osList="aix" - archList="all"> - </targetPlatform> - <builder - superClass="cdt.managedbuild.target.gnu.builder" - id="org.eclipse.cdt.managedbuilder.xlc.builder.lib.release"> - </builder> - <tool - id="cdt.managedbuild.tool.xlc.cpp.compiler.lib.release" - superClass="cdt.managedbuild.tool.xlc.cpp.compiler"> - <option - id="xlc.cpp.compiler.lib.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.cpp.compiler.lib.release.option.debugging.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.c.compiler.lib.release" - superClass="cdt.managedbuild.tool.xlc.c.compiler"> - <option - id="xlc.c.compiler.lib.release.option.optimization.level" - defaultValue="xlc.c.optimization.level.Level5" - superClass="xlc.c.compiler.option.optimization.level"> - </option> - <option - id="xlc.c.compiler.lib.release.option.debugging.g" - defaultValue="false" - superClass="xlc.c.compiler.option.ecd.g"> - </option> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.archiver.lib.release" - superClass="cdt.managedbuild.tool.xlc.archiver"> - </tool> - <tool - id="cdt.managedbuild.tool.xlc.assembler.lib.release" - superClass="cdt.managedbuild.tool.xlc.assembler"> - </tool> - </toolChain> - </configuration> - </projectType> - <tool - id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractCompiler" - isAbstract="true" - name="Abstract XL Compiler"> - <envVarBuildPath - pathType="buildpathInclude" - variableList="CPATH,C_INCLUDE_PATH"> - </envVarBuildPath> - <optionCategory - name="%OptionCategory.Input" - id="xlc.c.compiler.category.Input"> - </optionCategory> - <option - defaultValue="false" - name="%Option.Preproccomments" - category="xlc.c.compiler.category.Input" - command="-C" - id="xlc.c.compiler.option.input.C" - valueType="boolean"> - </option> - <option - name="%Option.DefSym" - category="xlc.c.compiler.category.Input" - command="-D" - id="xlc.c.compiler.option.input.D" - valueType="definedSymbols"> - </option> - <option - name="%Option.InclPaths" - category="xlc.c.compiler.category.Input" - command="-I" - id="xlc.c.compiler.option.include.paths" - valueType="includePath" - browseType="directory"> - <listOptionValue - builtIn="true" - value="/usr/include"> - </listOptionValue> - </option> - <option - name="%Option.UndefSym" - category="xlc.c.compiler.category.Input" - command="-U" - id="xlc.c.compiler.option.preprocessor.undef.symbol" - valueType="stringList"> - </option> - - <option - defaultValue="false" - name="%Option.altivec" - category="xlc.c.compiler.category.Input" - command="-qaltivec" - id="xlc.c.compiler.option.input.altivec" - valueType="boolean"> - </option> - - <option - name="%Option.asm" - category="xlc.c.compiler.category.Input" - id="xlc.c.compiler.option.input.asm" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue2" - isDefault="true" - name="Default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qasm=stdcpp" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue6" - name="Standard (-qasm=stdcpp)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qasm=gcc" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue4" - name="GCC (-qasm=gcc)"> - </enumeratedOptionValue> - </option> - - - <option - name="%Option.qcomplexgccincl" - category="xlc.c.compiler.category.Input" - command="-qcomplexgccincl" - id="xlc.c.compiler.option.include.qcomplexgccincl" - valueType="includePath" - browseType="directory"> - </option> - - <option - defaultValue="false" - name="%Option.Mbcs" - category="xlc.c.compiler.category.Input" - command="-qmbcs" - id="xlc.c.compiler.option.misc.mbcs" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Digraph" - category="xlc.c.compiler.category.Input" - command="-qdigraph" - id="xlc.c.compiler.option.misc.digraph" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Dollar" - category="xlc.c.compiler.category.Input" - command="-qdollar" - id="xlc.c.compiler.option.misc.dollar" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Incdirfirst" - category="xlc.c.compiler.category.Input" - command="-qidirfirst" - id="xlc.c.compiler.option.include.dirfirst" - valueType="boolean"> - </option> - - <option - name="%Option.ignprag" - category="xlc.c.compiler.category.Input" - id="xlc.c.compiler.option.input.ignprag" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.input.ignprag.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.ignprag.disjoint" - isDefault="false" - command="-qignprag=Disjoint" - id="xlc.c.input.ignprag.disjoint"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.ignprag.isolated" - isDefault="false" - command="-qignprag=isolated" - id="xlc.c.input.ignprag.disjoint"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.ignprag.all" - isDefault="false" - command="-qignprag=all" - id="xlc.c.input.ignprag.all"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.ignprag.ibm" - isDefault="false" - command="-qignprag=ibm" - id="xlc.c.input.ignprag.ibm"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.ignprag.omp" - isDefault="false" - id="xlc.c.input.ignprag.omp"> - </enumeratedOptionValue> - </option> - - <option - category="xlc.c.compiler.category.Input" - command="-qkeyword=" - id="xlc.c.compiler.option.misc.keyword" - name="%Option.Keyword" - valueType="boolean"> - </option> - - <option - name="%Option.langlvl" - category="xlc.c.compiler.category.Input" - id="xlc.c.compiler.option.input.langlvl" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.default" - isDefault="false" - id="xlc.c.input.langlvl."> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.classic" - isDefault="false" - command="-qlanglvl=classic" - id="xlc.c.input.langlvl.classic"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.extended" - isDefault="false" - command="-qlanglvl=extended" - id="xlc.c.input.langlvl.extended"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.saa" - isDefault="false" - command="-qlanglvl=saa" - id="xlc.c.input.langlvl.saa"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.saal2" - isDefault="false" - command="-qlanglvl=saal2" - id="xlc.c.input.langlvl.saal2"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.stdc89" - isDefault="false" - command="-qlanglvl=stdc89" - id="xlc.c.input.langlvl.stdc89"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.stdc99" - isDefault="false" - command="-qlanglvl=stdc99" - id="xlc.c.input.langlvl.stdc99"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.extc89" - isDefault="false" - command="-qlanglvl=extc89" - id="xlc.c.input.langlvl.extc89"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.extc99" - isDefault="false" - command="-qlanglvl=extc99" - id="xlc.c.input.langlvl.extc99"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.langlvl.ucs" - isDefault="false" - command="-qlanglvl=ucs" - id="xlc.c.input.langlvl.ucs"> - </enumeratedOptionValue> - </option> - - <option - defaultValue="false" - name="%Option.Macpstr" - category="xlc.c.compiler.category.Input" - command="-qmacpstr" - id="xlc.c.compiler.option.misc.macpstr" - valueType="boolean"> - </option> - - <option - name="%Option.sourcetype" - category="xlc.c.compiler.category.Input" - id="xlc.c.compiler.option.input.sourcetype" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.input.sourcetype.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.default" - isDefault="false" - command="-qsourcetype=default" - id="xlc.c.input.sourcetype.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.sourcetype.c" - isDefault="false" - command="-qsourcetype=c" - id="xlc.c.input.sourcetype.c"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.sourcetype.c++" - isDefault="false" - command="-qsourcetype=c++" - id="xlc.c.input.sourcetype.c++"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.sourcetype.assembler" - isDefault="false" - command="-qsourcetype=assembler" - id="xlc.c.input.sourcetype.assembler"> - </enumeratedOptionValue> - </option> - <option - category="xlc.c.compiler.category.Input" - command="-qstdframework" - id="org.eclipse.cdt.managedbuilder.xlc.ui.option2" - isAbstract="false" - name="%Option.stdframework" - resourceFilter="all" - valueType="boolean"> - </option> - <option - command="-qframeworkdir" - id="org.eclipse.cdt.managedbuilder.xlc.ui.option4" - isAbstract="false" - name="%Option.frameworkdirs" - resourceFilter="all" - valueType="includePath"> - </option> - - <option - defaultValue="false" - name="%Option.Input" - category="xlc.c.compiler.category.Input" - command="-qnostdinc" - id="xlc.c.compiler.option.preprocessor.nostdinc" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Trigraph" - category="xlc.c.compiler.category.Input" - command="-qtrigraph" - id="xlc.c.compiler.option.misc.trigraph" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.Utf" - category="xlc.c.compiler.category.Input" - command="-qutf" - id="xlc.c.compiler.option.misc.utf" - valueType="boolean"> - </option> - - <optionCategory - name="%OptionCategory.Output" - id="xlc.c.compiler.category.output"> - </optionCategory> - - <option - defaultValue="false" - name="%Option.Trace" - category="xlc.c.compiler.category.output" - command="-#" - id="xlc.c.compiler.option.output.trace" - valueType="boolean"> - </option> - <option - name="%Option.bmaxdata" - category="xlc.c.compiler.category.output" - command="-bmaxdata=" - id="xlc.c.compiler.option.output.bmaxdata" - valueType="string"> - </option> - <option - applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.HiddenOptionApplicabilityCalculator" - category="xlc.c.compiler.category.output" - command="-c" - defaultValue="true" - id="xlc.c.compiler.option.output.c" - name="%Option.c" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.PreprocOnly" - category="xlc.c.compiler.category.output" - command="-E" - id="xlc.c.compiler.option.preprocessor.preprocess" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.M" - category="xlc.c.compiler.category.output" - command="-M" - id="xlc.c.compiler.option.preprocessor.M" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.P" - category="xlc.c.compiler.category.output" - command="-P" - id="xlc.c.compiler.option.preprocessor.P" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Assem" - category="xlc.c.compiler.category.output" - command="-S" - id="xlc.c.compiler.option.misc.assem" - valueType="boolean"> - </option> - - - <option - defaultValue="false" - name="%Option.Strip" - category="xlc.c.compiler.category.output" - command="-s" - id="xlc.c.compiler.option.output.strip" - valueType="boolean"> - </option> - <option - name="%Option.64" - category="xlc.c.compiler.category.output" - command="-q64" - id="xlc.c.compiler.option.misc.64" - valueType="boolean"> - </option> - <option - name="%Option.Align" - category="xlc.c.compiler.category.output" - id="xlc.c.compiler.option.alignment.align" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.alignment.align.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Align.Full" - isDefault="false" - command="-qalign=full" - id="xlc.c.alignment.align.full"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="POWERâ„¢" - isDefault="false" - command="-qalign=power" - id="xlc.c.alignment.align.power"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Align.Natural" - isDefault="false" - command="-qalign=natural" - id="xlc.c.alignment.align.natural"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Align.twobyte" - isDefault="false" - command="-qalign=twobyte" - id="xlc.c.alignment.align.twobyte"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Align.packed" - isDefault="false" - command="-qalign=packed" - id="xlc.c.alignment.align.packed"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Align.bitpacked" - isDefault="false" - command="-qalign=bitpacked" - id="xlc.c.alignment.align.bitpacked"> - </enumeratedOptionValue> - </option> - <option - - name="%Option.alloca" - category="xlc.c.compiler.category.output" - command="-qalloca" - id="xlc.c.compiler.option.misc.alloca" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.Bitfields" - category="xlc.c.compiler.category.output" - id="xlc.c.compiler.option.signedness.bitfields" - valueType="enumerated"> - <enumeratedOptionValue - id="xlc.c.compiler.option.signedness.bitfields.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qbitfields=signed" - id="xlc.c.compiler.option.signedness.bitfields.signed" - name="%Option.Bitfields.signed"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qbitfields=unsigned" - id="xlc.c.compiler.option.signedness.bitfields.unsigned" - name="%Option.Bitfields.unsigned"> - </enumeratedOptionValue> - </option> - - <option - defaultValue="false" - name="%Option.Chars" - category="xlc.c.compiler.category.output" - id="xlc.c.compiler.option.signedness.chars" - valueType="enumerated"> - <enumeratedOptionValue - id="xlc.c.compiler.option.signedness.chars.default" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qchars=signed" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue2" - name="%Option.chars.signed"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qchars=unsigned" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue4" - name="%Option.chars.unsigned"> - </enumeratedOptionValue> - </option> - <option - defaultValue="false" - name="%Option.enablevmx" - category="xlc.c.compiler.category.output" - command="-qenablevmx" - id="xlc.c.compiler.option.objectcode.enablevmx" - valueType="boolean"> - </option> - <option - name="%Option.Enum" - category="xlc.c.compiler.category.output" - id="xlc.c.compiler.option.alignment.enum" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.alignment.enum.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.Int" - isDefault="false" - command="-qenum=int" - id="xlc.c.alignment.enum.int"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.Intlong" - isDefault="false" - command="-qenum=intlong" - id="xlc.c.alignment.enum.intlong"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.small" - isDefault="false" - command="-qenum=small" - id="xlc.c.alignment.enum.small"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.1" - isDefault="false" - command="-qenum=1" - id="xlc.c.alignment.enum.1"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.2" - isDefault="false" - command="-qenum=2" - id="xlc.c.alignment.enum.2"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.4" - isDefault="false" - command="-qenum=4" - id="xlc.c.alignment.enum.4"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.enum.8" - isDefault="false" - command="-qenum=8" - id="xlc.c.alignment.enum.8"> - </enumeratedOptionValue> - </option> - - <option - name="%Option.Pic" - category="xlc.c.compiler.category.output" - id="xlc.c.compiler.option.objectcode.pic" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.objectcode.pic.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Pic.Small" - isDefault="false" - command="-qpic=small" - id="xlc.c.objectcode.pic.small"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Pic.Large" - isDefault="false" - command="-qpic=large" - id="xlc.c.objectcode.pic.large"> - </enumeratedOptionValue> - </option> - - <option - category="xlc.c.compiler.category.output" - command="-qfuncset" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.funcset" - name="%Option.funcset" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qppline" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.ppline" - name="%Option.ppline" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qnoro" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.noro" - name="%Option.noro" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qnoroconst" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.noroconst" - name="%Option.noroconst" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qroptr" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.roptr" - name="%Option.roptr" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qsaveopt" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.saveopt" - name="%Option.saveopt" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qstaticinline" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.staticinline" - name="%Option.staticinline" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qstatsym" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.statsym" - name="%Option.statsym" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qthreaded" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.threaded" - name="%Option.threaded" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qvrsave" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.vrsave" - name="%Option.vrsave" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qweaksymbol" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.weaksymbol" - name="%Option.weaksymbol" - valueType="boolean"> - </option> - <option - category="xlc.c.compiler.category.output" - command="-qxcall" - defaultValue="false" - id="xlc.c.compiler.option.objectcode.xcall" - name="%Option.xcall" - valueType="boolean"> - </option> - <optionCategory - name="%OptionCategory.Optimize" - id="xlc.c.compiler.category.optimization"> - </optionCategory> - <option - name="%Option.OptLevel" - category="xlc.c.compiler.category.optimization" - id="xlc.c.compiler.option.optimization.level" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="true" - command="-O0" - id="xlc.c.optimization.level.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Optimize.Optimize" - command="-O" - id="xlc.c.optimization.level.optimize"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Optimize.Level2" - command="-O2" - id="xlc.c.optimization.level.Level2"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Optimize.Level3" - command="-O3" - id="xlc.c.optimization.level.Level3"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Optimize.Level4" - command="-O4" - id="xlc.c.optimization.level.Level4"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.Optimize.Level5" - command="-O5" - id="xlc.c.optimization.level.Level5"> - </enumeratedOptionValue> - </option> - <option - name="%Option.inlining" - category="xlc.c.compiler.category.optimization" - id="xlc.c.compiler.option.optimization.inlining" - valueType="enumerated" - > - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue12" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-Q" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue14" - name="%Option.inlining.Q"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-Q!" - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue16" - name="%Option.inlining.Qexclamation"> - </enumeratedOptionValue> - </option> - <option - name="%Option.aggrcopy" - category="xlc.c.compiler.category.optimization" - id="xlc.c.compiler.option.optimization.aggrcopy" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.optimization.aggrcopy.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.aggrcopy.nooverlap" - command="-qaggrcopy=nooverlap" - id="xlc.c.optimization.aggrcopy.nooverlap"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.aggrcopy.overlap" - command="-qaggrcopy=overlap" - id="xlc.c.optimization.aggrcopy.overlap"> - </enumeratedOptionValue> - </option> - - <option - name="%Option.alias" - category="xlc.c.compiler.category.optimization" - command="-qalias=" - id="xlc.c.compiler.option.optimization.alias" - valueType="string"> - </option> - <option - name="%Option.optimization.arch" - category="xlc.c.compiler.category.optimization" - id="xlc.c.compiler.option.optimization.arch" - valueType="enumerated"> - <enumeratedOptionValue - id="xlc.c.compiler.option.optimization.arch.default" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=auto" - id="xlc.c.compiler.option.optimization.arch.auto" - name="auto"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=com" - id="xlc.c.compiler.option.optimization.arch.com" - name="com"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=403" - id="xlc.c.compiler.option.optimization.arch.403" - name="PowerPC® 403"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=601" - id="xlc.c.compiler.option.optimization.arch.601" - name="PowerPC® 601"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=602" - id="xlc.c.compiler.option.optimization.arch.602" - name="PowerPC® 602"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=603" - id="xlc.c.compiler.option.optimization.arch.603" - name="PowerPC® 603"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=604" - id="xlc.c.compiler.option.optimization.arch.604" - name="PowerPC® 604"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr" - id="xlc.c.compiler.option.optimization.arch.pwr" - name="POWER(TM)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr2" - id="xlc.c.compiler.option.optimization.arch.pwr2" - name="POWER2(TM)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr2s" - id="xlc.c.compiler.option.optimization.arch.pwr2s" - name="POWER2(TM) s"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr2sc" - id="xlc.c.compiler.option.optimization.arch.pwr2sc" - name="POWER2(TM) Super Chip"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr3" - id="xlc.c.compiler.option.optimization.arch.pwr3" - name="POWER3(TM)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr4" - id="xlc.c.compiler.option.optimization.arch.pwr4" - name="POWER4(TM)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=pwr5" - id="xlc.c.compiler.option.optimization.arch.pwr5" - name="POWER5(TM)"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppc" - id="xlc.c.compiler.option.optimization.arch.ppc" - name="PowerPC®"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppc64" - id="xlc.c.compiler.option.optimization.arch.ppc64" - name="%Option.optimization.arch.ppc64"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppcgr" - id="xlc.c.compiler.option.optimization.arch.ppcgr" - name="%Option.optimization.arch.ppcgr"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppc64gr" - id="xlc.c.compiler.option.optimization.arch.ppc64gr" - name="%Option.optimization.arch.ppc64gr"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppcs4grsq" - id="xlc.c.compiler.option.optimization.arch.ppc64grsq" - name="%Option.optimization.arch.ppc64grsq"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppc64v" - id="xlc.c.compiler.option.optimization.arch.ppc64v" - name="%Option.optimization.arch.ppc64v"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=ppc970" - id="xlc.c.compiler.option.optimization.arch.ppc970" - name="PowerPC® 970"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=rs64a" - id="xlc.c.compiler.option.optimization.arch.rs64a" - name="RS64I"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=rs64b" - id="xlc.c.compiler.option.optimization.arch.rs64b" - name="RS64II"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qarch=rs64c" - id="xlc.c.compiler.option.optimization.arch.rs64c" - name="RS64III"> - </enumeratedOptionValue> - </option> - <option - name="%Option.optimization.Cache" - category="xlc.c.compiler.category.optimization" - command="-qcache=" - id="xlc.c.compiler.option.optimization.cache" - valueType="string"> - </option> - <option - - name="%Option.compact" - category="xlc.c.compiler.category.optimization" - command="-qcompact" - id="xlc.c.compiler.option.optimization.compact" - valueType="boolean"> - </option> - <option - name="%Option.optimization.dataimported" - category="xlc.c.compiler.category.optimization" - command="-qdataimported=" - id="xlc.c.compiler.option.optimization.dataimported" - valueType="string"> - </option> - <option - name="%Option.optimization.datalocal" - category="xlc.c.compiler.category.optimization" - command="-qdatalocal=" - id="xlc.c.compiler.option.optimization.datalocal" - valueType="string"> - </option> - <option - - name="%Option.directstorage" - category="xlc.c.compiler.category.optimization" - command="-qdirectstorage" - id="xlc.c.compiler.option.optimization.directstorage" - valueType="boolean"> - </option> - - <option - - name="%Option.fdpr" - category="xlc.c.compiler.category.optimization" - command="-qfdpr" - id="xlc.c.compiler.option.optimization.fdpr" - valueType="boolean"> - </option> - <option - name="%Option.optimization.hot" - category="xlc.c.compiler.category.optimization" - command="-qhot=" - id="xlc.c.compiler.option.optimization.hot" - valueType="string"> - </option> - <option - - name="%Option.ignerrno" - category="xlc.c.compiler.category.optimization" - command="-qignerrno" - id="xlc.c.compiler.option.optimization.ignerrno" - valueType="boolean"> - </option> - <option - name="%Option.optimization.ipa" - category="xlc.c.compiler.category.optimization" - command="-qipa=" - id="xlc.c.compiler.option.optimization.ipa" - valueType="string"> - </option> - <option - name="%Option.optimization.isolatedcall" - category="xlc.c.compiler.category.optimization" - command="-qisolated_call=" - id="xlc.c.compiler.option.optimization.isolatedcall" - valueType="string"> - </option> - <option - - name="%Option.largepage" - category="xlc.c.compiler.category.optimization" - command="-qlargepage" - id="xlc.c.compiler.option.optimization.largepage" - valueType="boolean"> - </option> - <option - - name="%Option.libansi" - category="xlc.c.compiler.category.optimization" - command="-qlibansi" - id="xlc.c.compiler.option.optimization.libansi" - valueType="boolean"> - </option> - <option - - name="%Option.pdf1" - category="xlc.c.compiler.category.optimization" - command="-qpdf1" - id="xlc.c.compiler.option.optimization.pdf1" - valueType="boolean"> - </option> - <option - - name="%Option.pdf2" - category="xlc.c.compiler.category.optimization" - command="-qpdf2" - id="xlc.c.compiler.option.optimization.pdf2" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.optimization.Prefetch" - category="xlc.c.compiler.category.optimization" - command="-qnoprefetch" - id="xlc.c.compiler.option.optimization.prefetch" - valueType="boolean"> - </option> - <option - name="%Option.optimization.procimported" - category="xlc.c.compiler.category.optimization" - command="-qprocunknown" - id="xlc.c.compiler.option.optimization.procimported" - valueType="string"> - </option> - <option - name="%Option.optimization.procunknown" - category="xlc.c.compiler.category.optimization" - command="-qprocunknown=" - id="xlc.c.compiler.option.optimization.procunknown" - valueType="string"> - </option> - <option - defaultValue="false" - name="%Option.optimization.showpdf" - category="xlc.c.compiler.category.optimization" - command="-qshowpdf" - id="xlc.c.compiler.option.optimization.showpdf" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.optimization.smallstack" - category="xlc.c.compiler.category.optimization" - command="-qsmallstack" - id="xlc.c.compiler.option.optimization.smallstack" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.optimization.smp" - category="xlc.c.compiler.category.optimization" - command="-qsmp" - id="xlc.c.compiler.option.optimization.smp" - valueType="boolean"> - </option> - <option - name="%Option.optimization.Spill" - category="xlc.c.compiler.category.optimization" - command="-qspill=" - id="xlc.c.compiler.option.optimization.spill" - valueType="string"> - </option> - <option - defaultValue="false" - name="%Option.optimization.Strict" - category="xlc.c.compiler.category.optimization" - command="-qstrict" - id="xlc.c.compiler.option.optimization.strict" - valueType="boolean"> - </option> - <option - name="%Option.optimization.loopinduction" - category="xlc.c.compiler.category.optimization" - id="xlc.c.compiler.option.optimization.loopinduction" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue10" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.optimization.strict_induction" - command="-qstrict_induction" - id="xlc.c.optimization.optimize.strict_induction"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.optimization.nostrict_induction" - isDefault="false" - command="-qnostrict_induction" - id="xlc.c.optimization.optimize.nostrict_induction"> - </enumeratedOptionValue> - </option> - - <option - defaultValue="false" - name="%Option.optimization.tocdata" - category="xlc.c.compiler.category.optimization" - command="-qtocdata" - id="xlc.c.compiler.option.optimization.tocdata" - valueType="boolean"> - </option> - - <optionCategory - name="%OptionCategory.ifp" - id="xlc.c.compiler.category.ifp"> - </optionCategory> - - <option - name="%Option.y" - category="xlc.c.compiler.category.ifp" - id="xlc.c.compiler.option.ifp.y" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.compiler.option.ifp.y.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.y.n" - isDefault="false" - command="-yn" - id="xlc.c.compiler.option.ifp.y.n"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.y.m" - isDefault="false" - command="-ym" - id="xlc.c.compiler.option.ifp.y.m"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.y.p" - isDefault="false" - command="-yp" - id="xlc.c.compiler.option.ifp.y.p"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.y.z" - isDefault="false" - command="-yz" - id="xlc.c.compiler.option.ifp.y.z"> - </enumeratedOptionValue> - </option> - - <option - name="%Option.float" - category="xlc.c.compiler.category.ifp" - command="-qfloat=" - id="xlc.c.compiler.option.ifp.qfloat" - valueType="string"> - </option> - <option - name="%Option.flttrap" - category="xlc.c.compiler.category.ifp" - command="-qflttrap=" - id="xlc.c.compiler.option.ifp.qflttrap" - valueType="string"> - </option> - <option - name="%Option.longlong" - category="xlc.c.compiler.category.ifp" - id="xlc.c.compiler.option.ifp.longlong" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.default" - isDefault="true" - id="xlc.c.ifp.y.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.longlong" - command="-qlonglong" - id="xlc.c.ifp.qlonglong"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.longlong.nolonglong" - command="-qnolonglong" - id="xlc.c.ifp.qnolonglong"> - </enumeratedOptionValue> - </option> - - <option - name="%Option.rndflt" - category="xlc.c.compiler.category.ifp" - id="xlc.c.compiler.option.ifp.rndflt" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.ifp.rndflt.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.rndflt.nearest" - isDefault="false" - command="-qrndflt=nearest" - id="xlc.c.ifp.qrndflt.nearest"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.rndflt.minusinf" - isDefault="false" - command="-qrndflt=minusinf" - id="xlc.c.ifp.qrndflt.minusinf"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.rndflt.plusinf" - isDefault="false" - command="-qrndflt=plusinf" - id="xlc.c.ifp.qrndflt.plusinf"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.rndflt.zero" - isDefault="false" - command="-qrndflt=zero" - id="xlc.c.ifp.qrndflt.zero"> - </enumeratedOptionValue> - </option> - - - <optionCategory - name="%OptionCategory.cc" - id="xlc.c.compiler.category.cc"> - </optionCategory> - <option - name="%Option.B" - category="xlc.c.compiler.category.cc" - command="-B" - id="xlc.c.compiler.option.cc.B" - valueType="string"> - </option> - - <option - name="%Option.F" - category="xlc.c.compiler.category.cc" - command="-F" - id="xlc.c.compiler.option.cc.F" - valueType="string"> - </option> - - <option - name="%Option.t" - category="xlc.c.compiler.category.cc" - command="-t" - id="xlc.c.compiler.option.cc.t" - valueType="string"> - </option> - - <option - name="%Option.optimization.w" - category="xlc.c.compiler.category.cc" - command="-W" - id="xlc.c.compiler.option.cc.W" - valueType="string"> - </option> - <option - name="%Option.maxmem" - category="xlc.c.compiler.category.cc" - command="-qmaxmem=" - id="xlc.c.compiler.option.cc.maxmem" - valueType="string"> - </option> - <option - browseType="directory" - category="xlc.c.compiler.category.cc" - command="-qpath=" - id="xlc.c.compiler.option.cc.path" - name="%Option.path" - valueType="string"> - </option> - <option - name="%Option.tls" - category="xlc.c.compiler.category.cc" - command="-qtls=" - id="xlc.c.compiler.option.cc.tls" - valueType="string"> - </option> - <optionCategory - name="%OptionCategory.lm" - id="xlc.c.compiler.category.lm"> - </optionCategory> - - <option - - name="%Option.V" - category="xlc.c.compiler.category.lm" - command="-V" - id="xlc.c.compiler.option.lm.V" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.Warn.nowarn" - category="xlc.c.compiler.category.lm" - command="-w" - id="xlc.c.compiler.option.lm.w" - valueType="boolean"> - </option> - <option - name="%Option.attr" - category="xlc.c.compiler.category.lm" - id="xlc.c.compiler.option.lm.attr" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.lm.attr.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.attr.noattr" - isDefault="false" - command="-qnoattr" - id="xlc.c.lm.attr.noattr"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.attr.fullattr" - isDefault="false" - command="-qattr=full" - id="xlc.c.lm.attr.fullattr"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.attr.attr" - isDefault="false" - command="-qattr" - id="xlc.c.lm.attr.attr"> - </enumeratedOptionValue> - </option> - <option - name="%Option.flag" - category="xlc.c.compiler.category.lm" - command="-qflag=" - id="xlc.c.compiler.option.lm.flag" - valueType="string"> - </option> - <option - name="%Option.format" - category="xlc.c.compiler.category.lm" - command="-qformat=" - id="xlc.c.compiler.option.lm.format" - valueType="string"> - </option> - <option - name="%Option.halt" - category="xlc.c.compiler.category.lm" - id="xlc.c.compiler.option.lm.halt" - valueType="enumerated"> - <enumeratedOptionValue - id="org.eclipse.cdt.managedbuilder.xlc.ui.enumeratedOptionValue1" - isDefault="true" - name="%Option.default"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qhalt=i" - id="xlc.c.compiler.option.lm.halt.information" - name="%Option.halt.information"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qhalt=w" - id="xlc.c.compiler.option.lm.halt.warning" - name="%Option.halt.warning"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qhalt=e" - id="xlc.c.compiler.option.lm.halt.error" - name="%Option.halt.error"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qhalt=s" - id="xlc.c.compiler.option.lm.halt.severeError" - name="%Option.halt.severeError"> - </enumeratedOptionValue> - <enumeratedOptionValue - command="-qhalt=u" - id="xlc.c.compiler.option.lm.halt.unrecoverableError" - name="%Option.halt.unrecoverableError"> - </enumeratedOptionValue> - </option> - - <option - name="%Option.info" - category="xlc.c.compiler.category.lm" - command="-qinfo=" - id="xlc.c.compiler.option.lm.info" - valueType="string"> - </option> - <option - - name="%Option.list" - category="xlc.c.compiler.category.lm" - command="-qlist" - id="xlc.c.compiler.option.lm.list" - valueType="boolean"> - </option> - <option - - name="%Option.listopt" - category="xlc.c.compiler.category.lm" - command="-qlistopt" - id="xlc.c.compiler.option.lm.listopt" - valueType="boolean"> - </option> - <option - - name="%Option.phsinfo" - category="xlc.c.compiler.category.lm" - command="-qphsinfo" - id="xlc.c.compiler.option.lm.phsinfo" - valueType="boolean"> - </option> - - <option - - name="%Option.noprint" - category="xlc.c.compiler.category.lm" - command="-qnoprint" - id="xlc.c.compiler.option.lm.noprint" - valueType="boolean"> - </option> - <option - - name="%Option.report" - category="xlc.c.compiler.category.lm" - command="-qreport" - id="xlc.c.compiler.option.lm.report" - valueType="boolean"> - </option> - <option - - name="%Option.showinc" - category="xlc.c.compiler.category.lm" - command="-qshowinc" - id="xlc.c.compiler.option.lm.showinc" - valueType="boolean"> - </option> - <option - - name="%Option.source" - category="xlc.c.compiler.category.lm" - command="-qsource" - id="xlc.c.compiler.option.lm.source" - valueType="boolean"> - </option> - <option - - name="%Option.srcmsg" - category="xlc.c.compiler.category.lm" - command="-qsrcmsg" - id="xlc.c.compiler.option.lm.srcmsg" - valueType="boolean"> - </option> - <option - name="%Option.suppress" - category="xlc.c.compiler.category.lm" - command="-qsuppress=" - id="xlc.c.compiler.option.lm.suppress" - valueType="string"> - </option> - <option - name="%Option.tabsize" - category="xlc.c.compiler.category.lm" - command="-qtabsize=" - id="xlc.c.compiler.option.lm.tabsize" - valueType="string"> - </option> - <option - - name="%Option.warnfourcharconsts" - category="xlc.c.compiler.category.lm" - command="-qwarnfourcharconsts" - id="xlc.c.compiler.option.lm.warnfourcharconsts" - valueType="boolean"> - </option> - <option - name="%Option.xref" - category="xlc.c.compiler.category.lm" - id="xlc.c.compiler.option.lm.xref" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.lm.xref.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.xref.noxref" - isDefault="false" - command="-qnoxref" - id="xlc.c.lm.attr.noattr"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.xref.fullxref" - isDefault="false" - command="-qxref=full" - id="xlc.c.lm.xref.fullxref"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.xref.xref" - isDefault="false" - command="-qxref" - id="xlc.c.lm.xref.xref"> - </enumeratedOptionValue> - </option> - - <optionCategory - name="%OptionCategory.ecd" - id="xlc.c.compiler.category.ecd"> - </optionCategory> - - <option - - name="%Option.g" - category="xlc.c.compiler.category.ecd" - command="-g" - id="xlc.c.compiler.option.ecd.g" - valueType="boolean"> - </option> - <option - - name="%Option.p" - category="xlc.c.compiler.category.ecd" - command="-p" - id="xlc.c.compiler.option.ecd.p" - valueType="boolean"> - </option> - <option - - name="%Option.pg" - category="xlc.c.compiler.category.ecd" - command="-pg" - id="xlc.c.compiler.option.ecd.pg" - valueType="boolean"> - </option> - <option - - name="%Option.check" - category="xlc.c.compiler.category.ecd" - command="-qcheck" - id="xlc.c.compiler.option.ecd.check" - valueType="boolean"> - </option> - <option - - name="%Option.dbxextra" - category="xlc.c.compiler.category.ecd" - command="-qdbxextra" - id="xlc.c.compiler.option.ecd.dbxextra" - valueType="boolean"> - </option> - <option - - name="%Option.extchk" - category="xlc.c.compiler.category.ecd" - command="-qextchk" - id="xlc.c.compiler.option.ecd.extchk" - valueType="boolean"> - </option> - - <option - - name="%Option.fullpath" - category="xlc.c.compiler.category.ecd" - command="-qfullpath" - id="xlc.c.compiler.option.ecd.fullpath" - valueType="boolean"> - </option> - - <option - name="%Option.genproto" - category="xlc.c.compiler.category.ecd" - id="xlc.c.compiler.option.ecd.genproto" - valueType="enumerated"> - <enumeratedOptionValue - name="%Option.none" - isDefault="false" - id="xlc.c.ecd.genproto.none"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.genproto" - isDefault="false" - command="-qgenproto" - id="xlc.c.ecd.genproto"> - </enumeratedOptionValue> - <enumeratedOptionValue - name="%Option.genproto.parmgenproto" - isDefault="false" - command="-qgenproto=parmnames" - id="xlc.c.ecd.genproto.parmnames"> - </enumeratedOptionValue> - </option> - <option - - name="%Option.heapdebug" - category="xlc.c.compiler.category.ecd" - command="-qheapdebug" - id="xlc.c.compiler.option.ecd.heapdebug" - valueType="boolean"> - </option> - <option - name="%Option.initauto" - category="xlc.c.compiler.category.ecd" - command="-qinitauto=" - id="xlc.c.compiler.option.ecd.initauto" - valueType="string"> - </option> - <option - - name="%Option.linedebug" - category="xlc.c.compiler.category.ecd" - command="-qlinedebug" - id="xlc.c.compiler.option.ecd.linedebug" - valueType="boolean"> - </option> - <option - name="%Option.maxerr" - category="xlc.c.compiler.category.ecd" - command="-qmaxerr=" - id="xlc.c.compiler.option.ecd.maxerr" - valueType="string"> - </option> - <option - - name="%Option.proto" - category="xlc.c.compiler.category.ecd" - command="-qproto" - id="xlc.c.compiler.option.ecd.proto" - valueType="boolean"> - </option> - <optionCategory - name="%OptionCategory.Misc" - id="xlc.c.compiler.category.other"> - </optionCategory> - <option - name="%Option.compiler.other" - category="xlc.c.compiler.category.other" - id="xlc.c.compiler.option.misc.other" - valueType="string"> - </option> - - <inputType - sourceContentType="org.eclipse.cdt.core.cSource" - sources="c" - dependencyContentType="org.eclipse.cdt.core.cHeader" - dependencyExtensions="h" - id="cdt.managedbuild.tool.xlc.c.compiler.input"> - </inputType> - <outputType - outputs="o" - buildVariable="OBJS" - id="cdt.managedbuild.tool.xlc.c.compiler.output"> - </outputType> - </tool> - <tool - id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker" - isAbstract="true" - name="Abstract XL Linker" - outputFlag="-o"> - <envVarBuildPath - pathType="buildpathLibrary" - variableList="LIBRARY_PATH"> - </envVarBuildPath> - - <optionCategory - name="%OptionCategory.Libs" - id="xlc.c.link.category.libs"> - </optionCategory> - <option - name="%Option.Libs" - category="xlc.c.link.category.libs" - command="-l" - id="xlc.c.link.option.libs" - browseType="none" - valueType="libs"> - </option> - <option - name="%Option.Libsearch" - category="xlc.c.link.category.libs" - command="-L" - id="xlc.c.link.option.paths" - browseType="directory" - valueType="libPaths"> - </option> - <option - name="%Option.UserObjs" - category="xlc.c.link.category.libs" - browseType="file" - valueType="userObjs" - id="xlc.c.link.option.userobjs"> - </option> - <optionCategory - name="%OptionCategory.Linking" - id="xlc.c.compiler.category.linking"> - </optionCategory> - - <option - name="%Option.Linking.b" - category="xlc.c.compiler.category.linking" - command="-b" - id="xlc.c.compiler.option.linking.b" - valueType="string"> - </option> - - <option - defaultValue="false" - name="%Option.linking.brtl" - category="xlc.c.compiler.category.linking" - command="-brtl" - id="xlc.c.compiler.option.linking.brtl" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.linking.bundle" - category="xlc.c.compiler.category.linking" - command="-bundle" - id="xlc.c.compiler.option.linking.bundle" - valueType="boolean"> - </option> - - <option - name="%Option.linking.bundle_loader" - category="xlc.c.compiler.category.linking" - command="-bundle_loader=" - id="xlc.c.compiler.option.linking.bundle_loader" - valueType="string"> - </option> - - - <option - browseType="file" - category="xlc.c.compiler.category.linking" - command="-f=" - id="xlc.c.compiler.option.linking.f" - name="%Option.linking.f" - valueType="string"> - </option> - - <option - name="%Option.Linking.L" - category="xlc.c.compiler.category.linking" - command="-L" - id="xlc.c.compiler.option.linking.L" - valueType="string"> - </option> - - <option - name="%Option.Linking.l" - category="xlc.c.compiler.category.linking" - command="-l" - id="xlc.c.compiler.option.linking.l" - valueType="string"> - </option> - - <option - defaultValue="false" - name="%Option.linking.r" - category="xlc.c.compiler.category.linking" - command="-r" - id="xlc.c.compiler.option.linking.r" - valueType="boolean"> - </option> - - <option - name="%Option.Linking.Z" - category="xlc.c.compiler.category.linking" - command="-Z" - id="xlc.c.compiler.option.linking.Z" - valueType="string"> - </option> - - - <option - defaultValue="false" - name="%Option.linking.inlglue" - category="xlc.c.compiler.category.linking" - command="-qinlglue" - id="xlc.c.compiler.option.linking.qinlglue" - valueType="boolean"> - </option> - - <option - defaultValue="false" - name="%Option.linking.lib" - category="xlc.c.compiler.category.linking" - command="-qlib" - id="xlc.c.compiler.option.linking.qlib" - valueType="boolean"> - </option> - - <option - name="%Option.Linking.priority" - category="xlc.c.compiler.category.linking" - command="-qpriority=" - id="xlc.c.compiler.option.linking.priority" - valueType="string"> - </option> - <option - defaultValue="false" - name="%Option.Linker.Shared" - category="xlc.c.compiler.category.linking" - command="-qmkshrobj" - id="xlc.c.link.option.mkshrobj" - applicabilityCalculator="org.eclipse.cdt.managedbuilder.xlc.ui.HiddenOptionApplicabilityCalculator" - valueType="boolean"> - </option> - <option - defaultValue="false" - name="%Option.Linker.Strip" - category="xlc.c.compiler.category.linking" - command="-s" - id="xlc.c.link.option.strip" - valueType="boolean"> - </option> - <optionCategory - name="%OptionCategory.Misc" - id="xlc.c.link.category.other"> - </optionCategory> - <option - name="%Option.Linker.Flags" - category="xlc.c.link.category.other" - valueType="string" - id="xlc.c.link.option.ldflags"> - </option> - <inputType - sourceContentType="org.eclipse.cdt.managedbuilder.core.compiledObjectFile" - sources="o" - multipleOfType="true" - dependencyCalculator="org.eclipse.cdt.managedbuilder.makegen.internal.DefaultNoDependencyCalculator" - buildVariable="OBJS" - id="cdt.managedbuild.tool.xlc.c.linker.input"> - <additionalInput - paths="$(USER_OBJS)" - kind="additionalinputdependency"> - </additionalInput> - <additionalInput - paths="$(LIBS)" - kind="additionalinput"> - </additionalInput> - </inputType> - <outputType - outputs="" - buildVariable="EXECUTABLES" - nameProvider="org.eclipse.cdt.managedbuilder.makegen.gnu.GnuLinkOutputNameProvider" - id="cdt.managedbuild.tool.xlc.c.linker.output"> - </outputType> - </tool> - <tool - id="org.eclipse.cdt.managedbuilder.xlc.ui.tool.linker.abstractSOLinker" - isAbstract="true" - name="Abstract XL Shared Object Linker" - superClass="org.eclipse.cdt.managedbuilder.xlc.ui.tool.abstractLinker"> - <option - name="%Option.Linking.mkshrobj" - id="xlc.c.link.so.option.shared" - defaultValue="true" - superClass="xlc.c.link.option.mkshrobj"> - </option> - <option - name="%Option.Linking.e" - category="xlc.c.compiler.category.linking" - command="-e " - id="xlc.c.compiler.option.linking.e" - valueType="string"> - </option> - <option - defaultValue="false" - name="%Option.linking.G" - category="xlc.c.compiler.category.linking" - command="-G" - id="xlc.c.compiler.option.linking.G" - valueType="boolean"> - </option> - <option - browseType="file" - category="xlc.c.compiler.category.linking" - command="-qexpfile=" - id="xlc.c.compiler.option.linking.expfile" - name="%Option.linking.expfile" - valueType="string"> - </option> - <outputType - outputs="so" - outputPrefix="lib" - buildVariable="LIBRARIES" - superClass="cdt.managedbuild.tool.xlc.c.linker.output" - id="cdt.managedbuild.tool.xlc.c.linker.so.debug.output"> - </outputType> - </tool> - </extension> -</plugin> - - - diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java deleted file mode 100644 index 6e327c70981..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixConfigurationEnvironmentSupplier.java +++ /dev/null @@ -1,51 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.managedbuilder.xlc.aix; - -import org.eclipse.cdt.managedbuilder.core.IConfiguration; -import org.eclipse.cdt.managedbuilder.envvar.IBuildEnvironmentVariable; -import org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier; -import org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider; -import org.eclipse.cdt.managedbuilder.internal.envvar.BuildEnvVar; - -public class AixConfigurationEnvironmentSupplier implements - IConfigurationEnvironmentVariableSupplier { - static final String VARNAME = "PATH"; - static final String BINPATH = "/usr/vac/bin"; - static final String DELIMITER_AIX = ":"; - static final String PROPERTY_DELIMITER = "path.separator"; - static final String PROPERTY_OSNAME = "os.name"; - /* (non-Javadoc) - * @see org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier#getVariable(java.lang.String, org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider) - */ - public IBuildEnvironmentVariable getVariable(String variableName, - IConfiguration configuration, IEnvironmentVariableProvider provider) { - - if (variableName == null) return null; - if (!VARNAME.equalsIgnoreCase(variableName)) return null; - return new BuildEnvVar(VARNAME, BINPATH, - IBuildEnvironmentVariable.ENVVAR_PREPEND, - System.getProperty(PROPERTY_DELIMITER, DELIMITER_AIX)); - } - - /* (non-Javadoc) - * @see org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier#getVariables(org.eclipse.cdt.managedbuilder.core.IConfiguration, org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider) - */ - public IBuildEnvironmentVariable[] getVariables( - IConfiguration configuration, IEnvironmentVariableProvider provider) { - - IBuildEnvironmentVariable[] tmp = new IBuildEnvironmentVariable[1]; - tmp[0] = getVariable(VARNAME, configuration, provider); - if (tmp[0] != null) return tmp; - return null; - } -} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java deleted file mode 100644 index ffacfb94fd5..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/aix/AixPathResolver.java +++ /dev/null @@ -1,27 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.managedbuilder.xlc.aix; - -import org.eclipse.cdt.managedbuilder.core.IBuildPathResolver; -import org.eclipse.cdt.managedbuilder.core.IConfiguration; - -public class AixPathResolver implements IBuildPathResolver { - static final String DELIMITER_AIX = ":"; - - /* (non-Javadoc) - * @see org.eclipse.cdt.managedbuilder.core.IBuildPathResolver#resolveBuildPaths(int, java.lang.String, java.lang.String, org.eclipse.cdt.managedbuilder.core.IConfiguration) - */ - public String[] resolveBuildPaths(int pathType, String variableName, - String variableValue, IConfiguration configuration) { - return variableValue.split(DELIMITER_AIX); - } -} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java deleted file mode 100644 index a0c159d6c48..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/HiddenOptionApplicabilityCalculator.java +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.managedbuilder.xlc.ui; - -import org.eclipse.cdt.managedbuilder.core.IBuildObject; -import org.eclipse.cdt.managedbuilder.core.IHoldsOptions; -import org.eclipse.cdt.managedbuilder.core.IOption; -import org.eclipse.cdt.managedbuilder.core.IOptionApplicability; - -/** - This class decides whether the make shared object - option is visible,enabled or used in command line or not */ - -public class HiddenOptionApplicabilityCalculator implements - IOptionApplicability { - - /** - * This function decides if the option for which this class - * is option applicability calculator is enabled or not. - */ - public boolean isOptionEnabled(IBuildObject configuration, - IHoldsOptions holder, IOption option) { - return false; - } - - /** - * This function decides if the option for which this class - * is option applicability calculator is used in command line - * or not. - */ - - public boolean isOptionUsedInCommandLine(IBuildObject configuration, - IHoldsOptions holder, IOption option) { - return true; - } - - /** - * This function decides if the option for which this class - * is option applicability calculator is visible or not. - */ - - public boolean isOptionVisible(IBuildObject configuration, - IHoldsOptions holder, IOption option) { - - return false; - } - -} diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java b/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java deleted file mode 100644 index 40ae8e94834..00000000000 --- a/xlc/org.eclipse.cdt.managedbuilder.xlc.ui/src/org/eclipse/cdt/managedbuilder/xlc/ui/XlcUIPlugin.java +++ /dev/null @@ -1,84 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 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 - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ - -package org.eclipse.cdt.managedbuilder.xlc.ui; - -import org.eclipse.core.runtime.Plugin; -import org.osgi.framework.BundleContext; -import java.util.*; - -/** - * The main plugin class to be used in the desktop. - */ -public class XlcUIPlugin extends Plugin { - //The shared instance. - private static XlcUIPlugin plugin; - //Resource bundle. - private ResourceBundle resourceBundle; - - /** - * The constructor. - */ - public XlcUIPlugin() { - super(); - plugin = this; - } - - /** - * This method is called upon plug-in activation - */ - public void start(BundleContext context) throws Exception { - super.start(context); - } - - /** - * This method is called when the plug-in is stopped - */ - public void stop(BundleContext context) throws Exception { - super.stop(context); - plugin = null; - resourceBundle = null; - } - - /** - * Returns the shared instance. - */ - public static XlcUIPlugin getDefault() { - return plugin; - } - - /** - * Returns the string from the plugin's resource bundle, - * or 'key' if not found. - */ - public static String getResourceString(String key) { - ResourceBundle bundle = XlcUIPlugin.getDefault().getResourceBundle(); - try { - return (bundle != null) ? bundle.getString(key) : key; - } catch (MissingResourceException e) { - return key; - } - } - - /** - * Returns the plugin's resource bundle, - */ - public ResourceBundle getResourceBundle() { - try { - if (resourceBundle == null) - resourceBundle = ResourceBundle.getBundle("org.eclipse.cdt.managedbuilder.gnu.ui.XlcUIPluginResources"); //$NON-NLS-1$ - } catch (MissingResourceException x) { - resourceBundle = null; - } - return resourceBundle; - } - -} |