Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java')
-rwxr-xr-xllvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java102
1 files changed, 51 insertions, 51 deletions
diff --git a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java
index f2389506f02..0c14f0d5810 100755
--- a/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java
+++ b/llvm/org.eclipse.cdt.managedbuilder.llvm.ui/src/org/eclipse/cdt/managedbuilder/llvm/ui/LlvmIsToolChainSupported.java
@@ -1,52 +1,52 @@
-/*******************************************************************************
- * Copyright (c) 2010-2015 Nokia Siemens Networks Oyj, Finland.
- * 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:
- * Nokia Siemens Networks - initial implementation
- * Leo Hippelainen - Initial implementation
+/*******************************************************************************
+ * Copyright (c) 2010-2015 Nokia Siemens Networks Oyj, Finland.
+ * 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:
+ * Nokia Siemens Networks - initial implementation
+ * Leo Hippelainen - Initial implementation
*******************************************************************************/
-package org.eclipse.cdt.managedbuilder.llvm.ui;
-
-import org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported;
-import org.eclipse.cdt.managedbuilder.core.IToolChain;
-import org.osgi.framework.Version;
-
-/**
- * Based on MingwIsToolChainSupported.
- *
- */
-public class LlvmIsToolChainSupported implements IManagedIsToolChainSupported {
-
- private final boolean supported;
-
- /**
- * Constructor.
- * LLVM Toolchain is supported if binary path for LLVM Tools can be found.
- */
- public LlvmIsToolChainSupported() {
- // Only supported if we can find the llvm tools.
- this.supported = LlvmEnvironmentVariableSupplier.getBinPath() != null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported#isSupported(org.eclipse.cdt.managedbuilder.core.IToolChain,
- * org.osgi.framework.Version, java.lang.String)
- */
- /**
- * Return a boolean value that informs if the LLVM Toolchain is supported.
- */
- @Override
- public boolean isSupported(IToolChain toolChain,
- /*
- * Version is supported from CDT 7.1.0.
- * Use org.osgi.framework.PluginVersionIdentifier with older CDT versions.
- */
- Version version, String instance) {
- return this.supported;
- }
-
-}
+package org.eclipse.cdt.managedbuilder.llvm.ui;
+
+import org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported;
+import org.eclipse.cdt.managedbuilder.core.IToolChain;
+import org.osgi.framework.Version;
+
+/**
+ * Based on MingwIsToolChainSupported.
+ *
+ */
+public class LlvmIsToolChainSupported implements IManagedIsToolChainSupported {
+
+ private final boolean supported;
+
+ /**
+ * Constructor.
+ * LLVM Toolchain is supported if binary path for LLVM Tools can be found.
+ */
+ public LlvmIsToolChainSupported() {
+ // Only supported if we can find the llvm tools.
+ this.supported = LlvmEnvironmentVariableSupplier.getBinPath() != null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.managedbuilder.core.IManagedIsToolChainSupported#isSupported(org.eclipse.cdt.managedbuilder.core.IToolChain,
+ * org.osgi.framework.Version, java.lang.String)
+ */
+ /**
+ * Return a boolean value that informs if the LLVM Toolchain is supported.
+ */
+ @Override
+ public boolean isSupported(IToolChain toolChain,
+ /*
+ * Version is supported from CDT 7.1.0.
+ * Use org.osgi.framework.PluginVersionIdentifier with older CDT versions.
+ */
+ Version version, String instance) {
+ return this.supported;
+ }
+
+}

Back to the top