aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/CommandLine.h2
-rw-r--r--lib/Support/CommandLine.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 106082c..e9c6aaf 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -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);
//===----------------------------------------------------------------------===//
diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index fc25a63..eed7804 100644
--- a/lib/Support/CommandLine.cpp
+++ b/lib/Support/CommandLine.cpp
@@ -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;