Pass argc by value, not by reference, since it isn't modified.

llvm-svn: 42788
This commit is contained in:
Dan Gohman
2007-10-09 16:04:57 +00:00
parent e8c8ef5234
commit 66966403ce
2 changed files with 2 additions and 2 deletions

View 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;