Remove deprecated AnalysisDriver.tmp1()

Change-Id: Ie05f71eabfdc81ce80264581d751c1ae9391bce7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232035
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
Konstantin Shcheglov
2022-02-08 17:21:36 +00:00
committed by Commit Bot
parent afe70b7432
commit ed2ae85bfe
@@ -268,37 +268,6 @@ class AnalysisDriver implements AnalysisDriverGeneric {
_search = Search(this);
}
/// Create a new instance of [AnalysisDriver].
///
/// The given [SourceFactory] is cloned to ensure that it does not contain a
/// reference to a [AnalysisContext] in which it could have been used.
@Deprecated('Use the unnamed constructor instead')
AnalysisDriver.tmp1({
required AnalysisDriverScheduler scheduler,
required PerformanceLog logger,
required ResourceProvider resourceProvider,
required ByteStore byteStore,
required SourceFactory sourceFactory,
required AnalysisOptionsImpl analysisOptions,
required Packages packages,
FileContentCache? fileContentCache,
bool enableIndex = false,
SummaryDataStore? externalSummaries,
bool retainDataForTesting = false,
}) : this(
scheduler: scheduler,
logger: logger,
resourceProvider: resourceProvider,
byteStore: byteStore,
sourceFactory: sourceFactory,
analysisOptions: analysisOptions,
packages: packages,
fileContentCache: fileContentCache,
enableIndex: enableIndex,
externalSummaries: externalSummaries,
retainDataForTesting: retainDataForTesting,
);
/// Return the set of files explicitly added to analysis using [addFile].
Set<String> get addedFiles => _fileTracker.addedFiles;