diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 06:03:55 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 06:03:55 +0000 |
commit | 38c1e6d355e45f73539326a3a1dee1ce0c5738b7 (patch) | |
tree | 60aaf67b23bb0a8c34c4547cc0c8a73d845c4d34 /clang/lib | |
parent | b102d1a432d2ed01cf1901e5265fbd15ceed40d9 (diff) | |
download | bcm5719-llvm-38c1e6d355e45f73539326a3a1dee1ce0c5738b7.tar.gz bcm5719-llvm-38c1e6d355e45f73539326a3a1dee1ce0c5738b7.zip |
Unrevert r244412 (reverted in r244414), and delete the bogus line left behind
in the unit test that was checking a file the test no longer creates.
llvm-svn: 244415
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 4e7b08ac79b..5133ffc2726 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -944,8 +944,10 @@ static bool compileModuleImpl(CompilerInstance &ImportingInstance, FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager())); // If we're collecting module dependencies, we need to share a collector - // between all of the module CompilerInstances. + // between all of the module CompilerInstances. Other than that, we don't + // want to produce any dependency output from the module build. Instance.setModuleDepCollector(ImportingInstance.getModuleDepCollector()); + Invocation->getDependencyOutputOpts() = DependencyOutputOptions(); // Get or create the module map that we'll use to build this module. std::string InferredModuleMapContent; |