Pass argc by value, not by reference, since it isn't modified.
[oota-llvm.git] / include / llvm / Support / CommandLine.h
index 106082cee96d6d79c630545ecac7a8a2cd4c64d7..e9c6aaff947d2fc992147f83011c2eee2e4180e1 100644 (file)
@@ -40,7 +40,7 @@ namespace cl {
 //===----------------------------------------------------------------------===//
 // ParseCommandLineOptions - Command line option processing entry point.
 //
-void ParseCommandLineOptions(int &argc, char **argv,
+void ParseCommandLineOptions(int argc, char **argv,
                              const char *Overview = 0);
 
 //===----------------------------------------------------------------------===//