summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-10-09 16:04:57 +0000
committerDan Gohman <gohman@apple.com>2007-10-09 16:04:57 +0000
commit66966403ce5282ee85ad1b6fb215e12e89dd791c (patch)
tree402ef94c39b6e19a420f0dc6fccfe2ca96430f83 /llvm/include/llvm/Support/CommandLine.h
parente8c8ef523410ee20c6970c6d2b13c643f66a1e99 (diff)
downloadbcm5719-llvm-66966403ce5282ee85ad1b6fb215e12e89dd791c.tar.gz
bcm5719-llvm-66966403ce5282ee85ad1b6fb215e12e89dd791c.zip
Pass argc by value, not by reference, since it isn't modified.
llvm-svn: 42788
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r--llvm/include/llvm/Support/CommandLine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h
index 106082cee96..e9c6aaff947 100644
--- a/llvm/include/llvm/Support/CommandLine.h
+++ b/llvm/include/llvm/Support/CommandLine.h
@@ -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);
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud