[lld] r263401 - Print out newline in both cases.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 13 16:07:42 PDT 2016


Author: ruiu
Date: Sun Mar 13 18:07:42 2016
New Revision: 263401

URL: http://llvm.org/viewvc/llvm-project?rev=263401&view=rev
Log:
Print out newline in both cases.

Modified:
    lld/trunk/ELF/DriverUtils.cpp

Modified: lld/trunk/ELF/DriverUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/DriverUtils.cpp?rev=263401&r1=263400&r2=263401&view=diff
==============================================================================
--- lld/trunk/ELF/DriverUtils.cpp (original)
+++ lld/trunk/ELF/DriverUtils.cpp Sun Mar 13 18:07:42 2016
@@ -88,7 +88,8 @@ void elf::printVersion() {
   outs() << "LLD " << getLLDVersion();
   std::string S = getLLDRepositoryVersion();
   if (!S.empty())
-    outs() << " " << S << "\n";
+    outs() << " " << S;
+  outs() << "\n";
 }
 
 std::string elf::findFromSearchPaths(StringRef Path) {




More information about the llvm-commits mailing list