Removed spurious test.

This commit is contained in:
David Ungar
2017-12-08 14:28:58 -08:00
parent 068f5019b8
commit 129b376b8b

View File

@@ -683,8 +683,6 @@ bool ASTProducer::shouldRebuild(SwiftASTManager::Implementation &MgrImpl,
for (const auto &input :
Invok.Opts.Invok.getFrontendOptions().Inputs.getAllFiles()) {
StringRef File = input.file();
if (File.empty())
continue;
bool FoundSnapshot = false;
for (auto &Snap : Snapshots) {
if (Snap->getFilename() == File) {