From 9a5263241d40d493445d7f386b4d76be088c3ac1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 9 Oct 2007 16:04:57 +0000 Subject: Pass argc by value, not by reference, since it isn't modified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42788 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/CommandLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/CommandLine.cpp') diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index fc25a633ab..eed780437b 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 PositionalOpts; -- cgit v1.2.3-18-g5258