diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2019-06-21 18:24:55 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2019-06-21 18:24:55 +0000 |
| commit | 459f733ef00bf0a4b8d7d5b975bcefb8dc2971f3 (patch) | |
| tree | f2bb754fea8a93b1adee9361e76837f2554d241c /clang/lib | |
| parent | b250a62a51bbbec0e1f2dd1de8b8c52bead2230e (diff) | |
| download | bcm5719-llvm-459f733ef00bf0a4b8d7d5b975bcefb8dc2971f3.tar.gz bcm5719-llvm-459f733ef00bf0a4b8d7d5b975bcefb8dc2971f3.zip | |
[clang-scan-deps] print the dependencies to stdout
and remove the need to use -MD options in the CDB
Differential Revision: https://reviews.llvm.org/D63579
llvm-svn: 364088
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Frontend/DependencyFile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Frontend/DependencyFile.cpp b/clang/lib/Frontend/DependencyFile.cpp index b52e25bb0eb..375eb91ae36 100644 --- a/clang/lib/Frontend/DependencyFile.cpp +++ b/clang/lib/Frontend/DependencyFile.cpp @@ -322,6 +322,10 @@ void DependencyFileGenerator::outputDependencyFile(DiagnosticsEngine &Diags) { return; } + outputDependencyFile(OS); +} + +void DependencyFileGenerator::outputDependencyFile(llvm::raw_ostream &OS) { // Write out the dependency targets, trying to avoid overly long // lines when possible. We try our best to emit exactly the same // dependency file as GCC (4.2), assuming the included files are the |

