mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
bug 327897: [ScannerDiscovery80] Tidy up certain scanner discovery code
This commit is contained in:
parent
ddc02f4e47
commit
187933d3c8
1 changed files with 12 additions and 0 deletions
|
@ -38,6 +38,18 @@ public class ExtendedScannerInfo extends ScannerInfo implements IExtendedScanner
|
|||
this.includeFiles = includeFiles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 5.3
|
||||
*/
|
||||
public ExtendedScannerInfo(Map<String, String> definedSymbols, String[] includePaths,
|
||||
String[] macroFiles, String[] includeFiles, String[] localIncludePaths) {
|
||||
|
||||
super(definedSymbols, includePaths);
|
||||
this.macroFiles = macroFiles;
|
||||
this.includeFiles = includeFiles;
|
||||
this.localIncludePaths = localIncludePaths;
|
||||
}
|
||||
|
||||
public ExtendedScannerInfo(IScannerInfo info) {
|
||||
super(info.getDefinedSymbols(), info.getIncludePaths());
|
||||
if (info instanceof IExtendedScannerInfo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue