Pass argc by value, not by reference, since it isn't modified.
[oota-llvm.git] / lib / Support / CommandLine.cpp
index 1f5008a3faa78bc045c9bbaaee44a5a6752d3725..eed780437bb0b97416c42eb59e0c9990c1534a6d 100644 (file)
@@ -332,7 +332,7 @@ void cl::ParseEnvironmentOptions(const char *progName, const char *envVar,
     free (*i);
 }
 
-void cl::ParseCommandLineOptions(int &argc, char **argv,
+void cl::ParseCommandLineOptions(int argc, char **argv,
                                  const char *Overview) {
   // Process all registered options.
   std::vector<Option*> PositionalOpts;
@@ -951,7 +951,7 @@ public:
     }
 
     if (ProgramOverview)
-      cout << "OVERVIEW:" << ProgramOverview << "\n";
+      cout << "OVERVIEW: " << ProgramOverview << "\n";
 
     cout << "USAGE: " << ProgramName << " [options]";