mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
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
This commit is contained in:
parent
6d60cac029
commit
9a5263241d
@ -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…
Reference in New Issue
Block a user