mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 559674: move 'contribute more implementations API' to package participant
Change-Id: I3f79f0ba3245a9aa3b638cb01c5fc537bb32a47b Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
This commit is contained in:
parent
488cc91689
commit
3b8551a14a
59 changed files with 165 additions and 164 deletions
|
@ -13,8 +13,8 @@ import static org.junit.Assert.assertNotNull;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.ParticipantTestUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ParticipantTestUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.arm;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* armclang C & C++.
|
||||
|
|
|
@ -12,9 +12,9 @@ package org.eclipse.cdt.cmake.is.arm;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsOutputProcessor;
|
||||
|
||||
/**
|
||||
* The {link IBuiltinsDetectionBehavior} for the ARM C or C++ version 5
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.arm;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
|
||||
/**
|
||||
* armcc C & C++.
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.LangStd_GCC;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.LangStd_GCC;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.Sysroot_GCC;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.Sysroot_GCC;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.IncludePath_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet.IArgumentCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.IncludePath_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet.IArgumentCollector;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -13,8 +13,8 @@ import static org.junit.Assert.assertTrue;
|
|||
|
||||
import java.util.Map;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.MacroDefine_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.MacroDefine_C_POSIX;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.MacroUndefine_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet.IArgumentCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.MacroUndefine_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet.IArgumentCollector;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -10,9 +10,9 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.IncludePath_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.SystemIncludePath_C;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet.IArgumentCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.IncludePath_C_POSIX;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.SystemIncludePath_C;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet.IArgumentCollector;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -10,7 +10,7 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.SystemIncludePath_armcc;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.SystemIncludePath_armcc;
|
||||
import org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
|
|
|
@ -16,10 +16,10 @@ import java.nio.file.Files;
|
|||
import java.nio.file.Paths;
|
||||
import java.nio.file.StandardOpenOption;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -16,8 +16,8 @@ import static org.junit.Assert.assertTrue;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.OutputSniffer;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.OutputSniffer;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -11,8 +11,9 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
|||
Bundle-ActivationPolicy: lazy
|
||||
Bundle-Activator: org.eclipse.cdt.cmake.is.core.internal.Plugin
|
||||
Export-Package: org.eclipse.cdt.cmake.is.core;x-internal:=true;uses:="org.eclipse.core.runtime,org.eclipse.cdt.core.settings.model,org.eclipse.cdt.cmake.is.core.builtins",
|
||||
org.eclipse.cdt.cmake.is.core.builtins;x-internal:=true;uses:="org.eclipse.cdt.core.settings.model",
|
||||
org.eclipse.cdt.cmake.is.core.language.settings.providers;x-internal:=true
|
||||
org.eclipse.cdt.cmake.is.core.language.settings.providers;x-internal:=true,
|
||||
org.eclipse.cdt.cmake.is.core.participant;uses:="org.eclipse.core.runtime,org.eclipse.cdt.cmake.is.core.participant.builtins,org.eclipse.cdt.cmake.is.core",
|
||||
org.eclipse.cdt.cmake.is.core.participant.builtins;uses:="org.eclipse.cdt.cmake.is.core"
|
||||
Require-Bundle: org.eclipse.ui.workbench;bundle-version="3.8.0",
|
||||
org.eclipse.cdt.ui,
|
||||
org.eclipse.core.resources;bundle-version="3.13.700",
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<meta.schema plugin="org.eclipse.cdt.cmake.is.core" id="detectionParticipant" name="Tool Detection Participants"/>
|
||||
</appinfo>
|
||||
<documentation>
|
||||
Allows plug-ins to contribute to detection of compiler include paths, preprocessor defines and preprocessor un-defines from a command-line text.
|
||||
<p>This extension point teaches the <i>CMAKE_EXPORT_COMPILE_COMMANDS Parser</i> and the <i>CMAKE_EXPORT_COMPILE_COMMANDS Compiler Built-ins</i> language settings providers to analyze compiler-specific command-lines incl. options for a specific compiler. The detected include paths, preprocessor defines and preprocessor un-defines from the compiler command-line get passed to the CDT indexer.</p>
|
||||
Allows plug-ins to contribute to detection of compiler include paths and preprocessor defines from a command-line text.
|
||||
<p>This extension point teaches the <i>CompileCommandsParser</i> to analyze compiler-specific command-lines incl. options for a specific compiler. The detected include paths, preprocessor defines and preprocessor un-defines from the compiler command-line get passed to the CDT indexer.</p>
|
||||
<p>Third party compiler vendors may use this extension point to add their compiler (or other tool) for improved syntax highlighting in the CDT's C/C++ editors.
|
||||
</p>
|
||||
</documentation>
|
||||
|
@ -60,11 +60,11 @@
|
|||
<attribute name="class" type="string" use="required">
|
||||
<annotation>
|
||||
<documentation>
|
||||
The fully qualified name of a class that implements <code>org.eclipse.cdt.cmake.is.IToolDetectionParticipant</code>, The implementation must provide a public no-argument constructor.<br/>
|
||||
You may want to consider sub-classing <code>org.eclipse.cdt.cmake.is.DefaultToolDetectionParticipant</code> for convenience instead of directly implementing the interface.
|
||||
The fully qualified name of a class that implements <code>org.eclipse.cdt.cmake.is.participant.IToolDetectionParticipant</code>, The implementation must provide a public no-argument constructor.<br/>
|
||||
You may want to consider sub-classing <code>org.eclipse.cdt.cmake.is.participant.DefaultToolDetectionParticipant</code> for convenience instead of directly implementing the interface.
|
||||
</documentation>
|
||||
<appinfo>
|
||||
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.cmake.is.IToolDetectionParticipant"/>
|
||||
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.cmake.is.participant.IToolDetectionParticipant"/>
|
||||
</appinfo>
|
||||
</annotation>
|
||||
</attribute>
|
||||
|
@ -90,7 +90,7 @@ You may want to consider sub-classing <code>org.eclipse.cdt.cmake.is.Defau
|
|||
<meta.section type="since"/>
|
||||
</appinfo>
|
||||
<documentation>
|
||||
2.0.0
|
||||
1.0.0
|
||||
</documentation>
|
||||
</annotation>
|
||||
|
||||
|
@ -129,8 +129,8 @@ Example file <code>help_content_extension.xml</code>:
|
|||
</p>
|
||||
|
||||
<p>
|
||||
The easiest way to implement a tool detection participant would be to sub-class <code>org.eclipse.cdt.cmake.is.DefaultToolDetectionParticipant</code>.
|
||||
To configure your class, pass an instance of <code>org.eclipse.cdt.cmake.is.DefaultToolCommandlineParser</code> in its super-constructor.<br/>
|
||||
The easiest way to implement a tool detection participant would be to sub-class <code>org.eclipse.cdt.cmake.is.participant.DefaultToolDetectionParticipant</code>.
|
||||
To configure your class, pass an instance of <code>org.eclipse.cdt.cmake.is.participant.DefaultToolCommandlineParser</code> in its super-constructor.<br/>
|
||||
Some predifined parsers for tool arguments can be found in the classes <code>Arglets</code> and <code>ResponseFileArglets</code>.
|
||||
</p>
|
||||
</documentation>
|
||||
|
@ -152,7 +152,7 @@ See, for example <code>de/marw/cmake/cdt/lsp/intel/IccToolDetectionPartici
|
|||
<meta.section type="copyright"/>
|
||||
</appinfo>
|
||||
<documentation>
|
||||
Copyright (c) 2019 Martin Weber<br>
|
||||
Copyright (c) 2019-20 Martin Weber<br>
|
||||
All rights reserved. Content is provided to you under the terms and conditions of the Eclipse Public License Version 2.0 "EPL".
|
||||
A copy of the EPL is available at http://www.eclipse.org/legal/epl-2.0.
|
||||
</documentation>
|
||||
|
|
|
@ -12,9 +12,9 @@ package org.eclipse.cdt.cmake.is.core.internal;
|
|||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.builtins.RawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
|
||||
/**
|
||||
* Default implementation of IArgumentCollector.
|
||||
|
|
|
@ -17,17 +17,17 @@ import java.util.Map;
|
|||
import java.util.Optional;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant.MatchResult;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.builtins.GccBuiltinDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.builtins.MaybeGccBuiltinDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant.MatchResult;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.IConfigurationElement;
|
||||
import org.eclipse.core.runtime.ILog;
|
||||
|
|
|
@ -19,13 +19,13 @@ import java.util.List;
|
|||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.OutputSniffer;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.Plugin;
|
||||
import org.eclipse.cdt.cmake.is.core.language.settings.providers.IParserPreferences;
|
||||
import org.eclipse.cdt.cmake.is.core.language.settings.providers.IParserPreferencesAccess;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.OutputSniffer;
|
||||
import org.eclipse.cdt.core.CCorePlugin;
|
||||
import org.eclipse.cdt.core.ConsoleOutputStream;
|
||||
import org.eclipse.cdt.core.ICommandLauncher;
|
||||
|
|
|
@ -12,9 +12,9 @@ package org.eclipse.cdt.cmake.is.core.internal.builtins;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsOutputProcessor;
|
||||
|
||||
/**
|
||||
* The {link IBuiltinsDetectionBehavior} for the GNU C and GNU C++ compiler
|
||||
|
|
|
@ -20,9 +20,9 @@ import java.util.Map;
|
|||
import java.util.Map.Entry;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.Plugin;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfoCollector;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,18 +26,18 @@ import java.util.stream.Collectors;
|
|||
import java.util.stream.Stream;
|
||||
|
||||
import org.apache.commons.io.FilenameUtils;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.ParserDetection;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.ParserDetection.DetectorWithMethod;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.ParserDetection.ParserDetectionResult;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.Plugin;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.StringUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.builtins.CompilerBuiltinsDetector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfo;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.core.ICommandLauncher;
|
||||
import org.eclipse.cdt.core.build.CBuildConfiguration;
|
||||
import org.eclipse.cdt.core.resources.IConsole;
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet.IArgumentCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet.IArgumentCollector;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
|
||||
|
@ -179,7 +179,7 @@ public final class Arglets {
|
|||
/**
|
||||
* @param isSystemIncludePath <code>true</code> if the include path is a system include path otherwise <code>false</code>
|
||||
* @param cwd the current working directory of the compiler at its invocation
|
||||
* @see org.eclipse.cdt.cmake.is.core.IArglet#processArgument(IArgumentCollector,
|
||||
* @see org.eclipse.cdt.cmake.is.core.participant.IArglet#processArgument(IArgumentCollector,
|
||||
* IPath, String)
|
||||
*/
|
||||
protected final int processArgument(boolean isSystemIncludePath, IArgumentCollector resultCollector, IPath cwd,
|
||||
|
@ -351,7 +351,7 @@ public final class Arglets {
|
|||
*/
|
||||
public static abstract class BuiltinDetctionArgsGeneric {
|
||||
/**
|
||||
* @see org.eclipse.cdt.cmake.is.core.IArglet#processArgument(IArgumentCollector,
|
||||
* @see org.eclipse.cdt.cmake.is.core.participant.IArglet#processArgument(IArgumentCollector,
|
||||
* IPath, String)
|
||||
*/
|
||||
protected final int processArgument(IArgumentCollector resultCollector, String argsLine,
|
|
@ -6,16 +6,16 @@
|
|||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Objects;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.ParseContext;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.Plugin;
|
||||
import org.eclipse.cdt.cmake.is.core.internal.StringUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.Locale;
|
||||
import java.util.Optional;
|
|
@ -6,7 +6,7 @@
|
|||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
|
@ -9,7 +9,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
/**
|
||||
* Gathers information about C preprocessor symbols and include paths collected
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
/**
|
||||
* Parses a 'response file' tool argument and its content.
|
|
@ -6,12 +6,12 @@
|
|||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
||||
/**
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.util.Optional;
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.internal.ParserDetection;
|
||||
|
|
@ -7,14 +7,14 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core;
|
||||
package org.eclipse.cdt.cmake.is.core.participant;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.regex.Matcher;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
|
|
@ -7,13 +7,13 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core.builtins;
|
||||
package org.eclipse.cdt.cmake.is.core.participant.builtins;
|
||||
|
||||
import java.util.Optional;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.core.settings.model.ICLanguageSettingEntry;
|
||||
import org.eclipse.cdt.core.settings.model.ICSettingEntry;
|
||||
import org.eclipse.cdt.core.settings.model.util.CDataUtil;
|
|
@ -7,7 +7,7 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core.builtins;
|
||||
package org.eclipse.cdt.cmake.is.core.participant.builtins;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -7,9 +7,9 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core.builtins;
|
||||
package org.eclipse.cdt.cmake.is.core.participant.builtins;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfoCollector;
|
||||
|
||||
/**
|
||||
* Responsible for parsing the output that is produced when a compiler is
|
|
@ -7,13 +7,13 @@
|
|||
* SPDX-License-Identifier: EPL-2.0
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.cmake.is.core.builtins;
|
||||
package org.eclipse.cdt.cmake.is.core.participant.builtins;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfoCollector;
|
||||
|
||||
/**
|
||||
* An OutputStream that passes each line written to it to a
|
|
@ -13,8 +13,8 @@ import static org.junit.Assert.assertNotNull;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.ParticipantTestUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ParticipantTestUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.hpenonstop;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* HPE NonStop c11 C & C++.
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.hpenonstop;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* HPE NonStop c89 C & C++.
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.hpenonstop;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* HPE NonStop c99 C & C++.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
|
||||
/**
|
||||
* C, Linux & OS X, EDG.
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* C + C++, Windows, EDG.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
|
||||
/**
|
||||
* C, OS X, clang.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
|
||||
/**
|
||||
* C++, OS X, clang.
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
|
||||
/**
|
||||
* C++, Linux & OS X, EDG.
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* An {@link IToolCommandlineParser} for the Intel C compilers.
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.intel;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* An {@link IToolCommandlineParser} for the Intel C compilers.
|
||||
|
|
|
@ -13,8 +13,8 @@ import static org.junit.Assert.assertNotNull;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.ParticipantTestUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ParticipantTestUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,15 +9,15 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.microsoft;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.IncludePathGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.MacroDefineGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.MacroUndefineGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.NameValueOptionMatcher;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.IncludePathGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.MacroDefineGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.MacroUndefineGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.NameValueOptionMatcher;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.microsoft;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
|
||||
/**
|
||||
* Microsoft C and C++ compiler (cl).
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.nvidia;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.Before;
|
||||
|
|
|
@ -13,8 +13,8 @@ import static org.junit.Assert.assertNotNull;
|
|||
|
||||
import java.util.Locale;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.ParticipantTestUtil;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ParticipantTestUtil;
|
||||
import org.junit.Test;
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,8 +10,8 @@ package org.eclipse.cdt.cmake.is.nvidia.builtins;
|
|||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IToolCommandlineParser.IResult;
|
||||
import org.eclipse.cdt.cmake.is.nvidia.NvccLangStdArglet;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
|
|
|
@ -20,9 +20,9 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.OutputSniffer;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IRawIndexerInfoCollector;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.OutputSniffer;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@ package org.eclipse.cdt.cmake.is.nvidia;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.builtins.IBuiltinsOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.GccOutputProcessor;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsDetectionBehavior;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.builtins.IBuiltinsOutputProcessor;
|
||||
|
||||
/**
|
||||
* The {link IBuiltinsDetectionBehavior} for the NVidia CUDA compiler.
|
||||
|
|
|
@ -12,8 +12,8 @@ package org.eclipse.cdt.cmake.is.nvidia;
|
|||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.BuiltinDetctionArgsGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.BuiltinDetctionArgsGeneric;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
||||
/**
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
package org.eclipse.cdt.cmake.is.nvidia;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.IncludePathGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.IncludePathGeneric;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets.NameOptionMatcher;
|
||||
import org.eclipse.core.runtime.IPath;
|
||||
|
||||
/**
|
||||
|
|
|
@ -12,11 +12,11 @@ package org.eclipse.cdt.cmake.is.nvidia;
|
|||
import java.util.Collections;
|
||||
import java.util.Set;
|
||||
|
||||
import org.eclipse.cdt.cmake.is.core.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.Arglets;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolCommandlineParser;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.DefaultToolDetectionParticipant;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.IArglet;
|
||||
import org.eclipse.cdt.cmake.is.core.participant.ResponseFileArglets;
|
||||
|
||||
/**
|
||||
* CUDA: nvcc compilers (POSIX compatible).
|
||||
|
|
Loading…
Add table
Reference in a new issue