Improve dependency file support.
 - Rip out various bits of logic from clang-cc's dependency file gen,
   force driver to provide instead.

 - -MD output now goes to proper location
<rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name

 - -M and -MM still don't work correctly.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68022 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/clang-cc/clang.h b/tools/clang-cc/clang.h
index 33bc7fe..1e39897 100644
--- a/tools/clang-cc/clang.h
+++ b/tools/clang-cc/clang.h
@@ -50,10 +50,7 @@
 
 /// CreateDependencyFileGen - Create dependency file generator.
 /// This is only done if either -MD or -MMD has been specified.
-bool CreateDependencyFileGen(Preprocessor *PP,
-                             std::string &OutputFile,
-                             const std::string &InputFile,
-                             const char  *&ErrStr);
+bool CreateDependencyFileGen(Preprocessor *PP, std::string &ErrStr);
 
 /// CacheTokens - Cache tokens for use with PCH.
 void CacheTokens(Preprocessor& PP, const std::string& OutFile);