[llvm-commits] [llvm] r90473 - /llvm/trunk/lib/Support/CommandLine.cpp

Dan Gohman gohman at apple.com
Thu Dec 3 11:03:18 PST 2009


Author: djg
Date: Thu Dec  3 13:03:18 2009
New Revision: 90473

URL: http://llvm.org/viewvc/llvm-project?rev=90473&view=rev
Log:
Print a newline after the Args: line so that unrelated errs() output doesn't
end up on the same line.

Modified:
    llvm/trunk/lib/Support/CommandLine.cpp

Modified: llvm/trunk/lib/Support/CommandLine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/CommandLine.cpp?rev=90473&r1=90472&r2=90473&view=diff

==============================================================================
--- llvm/trunk/lib/Support/CommandLine.cpp (original)
+++ llvm/trunk/lib/Support/CommandLine.cpp Thu Dec  3 13:03:18 2009
@@ -778,9 +778,10 @@
       free(*i);
   }
 
-  DEBUG(errs() << "\nArgs: ";
+  DEBUG(errs() << "Args: ";
         for (int i = 0; i < argc; ++i)
           errs() << argv[i] << ' ';
+        errs() << '\n';
        );
 
   // If we had an error processing our arguments, don't let the program execute





More information about the llvm-commits mailing list