aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit9a5263241d40d493445d7f386b4d76be088c3ac1 (patch)
tree736cdb4a3ffc0b23abe9f8215e46199fbc89932b /include/llvm/Support/CommandLine.h
parent6d60cac029c5eda877a982cd6a0281380932c512 (diff)
downloadexternal_llvm-9a5263241d40d493445d7f386b4d76be088c3ac1.zip
external_llvm-9a5263241d40d493445d7f386b4d76be088c3ac1.tar.gz
external_llvm-9a5263241d40d493445d7f386b4d76be088c3ac1.tar.bz2
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
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r--include/llvm/Support/CommandLine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 106082c..e9c6aaf 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/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);
//===----------------------------------------------------------------------===//