mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Include cross-module dependencies in swiftdeps files.
These are the same dependencies collected for .d files, including headers and imported swiftmodules. These can also cause a file to be out of date. Part of rdar://problem/19270920 Swift SVN r24334
This commit is contained in:
@@ -147,9 +147,6 @@ bool CompilerInstance::setup(const CompilerInvocation &Invok) {
|
||||
for (unsigned i = 0, e = Invocation.getInputFilenames().size(); i != e; ++i) {
|
||||
auto &File = Invocation.getInputFilenames()[i];
|
||||
|
||||
if (DepTracker)
|
||||
DepTracker->addDependency(File);
|
||||
|
||||
// FIXME: Working with filenames is fragile, maybe use the real path
|
||||
// or have some kind of FileManager.
|
||||
using namespace llvm::sys::path;
|
||||
|
||||
Reference in New Issue
Block a user