mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 22:04:10 +00:00
Pass argc by value, not by reference, since it isn't modified.
llvm-svn: 42788
This commit is contained in:
parent
6c3e0cdd36
commit
2fb0a249d7
@ -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);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user