mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #8359 from graydon/rdar-31044067-missing-dependencies-mark-2
This commit is contained in:
@@ -117,10 +117,11 @@ static bool emitMakeDependencies(DiagnosticEngine &diags,
|
||||
out << escape(targetName) << " :";
|
||||
// First include all other files in the module. Make-style dependencies
|
||||
// need to be conservative!
|
||||
for (StringRef path : opts.InputFilenames)
|
||||
for (auto const &path : reversePathSortedFilenames(opts.InputFilenames))
|
||||
out << ' ' << escape(path);
|
||||
// Then print dependencies we've picked up during compilation.
|
||||
for (StringRef path : depTracker.getDependencies())
|
||||
for (auto const &path :
|
||||
reversePathSortedFilenames(depTracker.getDependencies()))
|
||||
out << ' ' << escape(path);
|
||||
out << '\n';
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user