projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass argc by value, not by reference, since it isn't modified.
[oota-llvm.git]
/
lib
/
Support
/
CommandLine.cpp
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index fc25a633ab3c43943bbb075159cb9cc662edf448..eed780437bb0b97416c42eb59e0c9990c1534a6d 100644
(file)
--- 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<Option*> PositionalOpts;