Pass argc by value, not by reference, since it isn't modified.
llvm-svn: 42788
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user