Fix primary not found diagnostic.

This commit is contained in:
David Ungar
2017-12-13 09:28:43 -08:00
parent c3c9e90865
commit fb141bb16d
2 changed files with 8 additions and 8 deletions

View File

@@ -226,7 +226,7 @@ private:
// some-file-not-in-foo".
assert(FilelistPathArg && "Missing primary with no filelist");
Diags.diagnose(SourceLoc(), diag::error_primary_file_not_found, file,
PrimaryFilelistPathArg->getValue());
FilelistPathArg->getValue());
}
return !PrimaryFiles.empty();
}