diff options
author | Fangrui Song <i@maskray.me> | 2022-10-28 20:46:27 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-10-28 20:46:27 -0700 |
commit | 0cc9710a0dc0b1cc2e13aaa3778ba55cc0d37b84 (patch) | |
tree | ff8df2177dbc1148fddd36dc2a5519d516d13c4e /clang/lib/Frontend/DependencyFile.cpp | |
parent | ff9576f74514b836e1ba0268409a2ecb919d7118 (diff) | |
download | llvm-0cc9710a0dc0b1cc2e13aaa3778ba55cc0d37b84.zip llvm-0cc9710a0dc0b1cc2e13aaa3778ba55cc0d37b84.tar.gz llvm-0cc9710a0dc0b1cc2e13aaa3778ba55cc0d37b84.tar.bz2 |
[Frontend] -MP: remove blank lines
GCC 10 removed blank lines for phony targets during a refactoring.
The blank lines seems unuseful, so let's follow suit.
Diffstat (limited to 'clang/lib/Frontend/DependencyFile.cpp')
-rw-r--r-- | clang/lib/Frontend/DependencyFile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/DependencyFile.cpp b/clang/lib/Frontend/DependencyFile.cpp index 930d5b4..159eaaa 100644 --- a/clang/lib/Frontend/DependencyFile.cpp +++ b/clang/lib/Frontend/DependencyFile.cpp @@ -326,7 +326,7 @@ void DependencyFileGenerator::outputDependencyFile(DiagnosticsEngine &Diags) { 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 + // dependency file as GCC>=10, assuming the included files are the // same. const unsigned MaxColumns = 75; unsigned Columns = 0; @@ -375,7 +375,6 @@ void DependencyFileGenerator::outputDependencyFile(llvm::raw_ostream &OS) { for (auto I = Files.begin(), E = Files.end(); I != E; ++I) { if (Index++ == InputFileIndex) continue; - OS << '\n'; PrintFilename(OS, *I, OutputFormat); OS << ":\n"; } |