summaryrefslogtreecommitdiffstats
path: root/llvm/support/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
committerChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
commit10073a9080498f8ce8ad87b425d8bbb5b6536b67 (patch)
tree10569e0dce9be5b0fc6bb11e55babf9b9f2c170f /llvm/support/lib/Support/CommandLine.cpp
parente680139c346e2e1e09f4574995cca1874abe7f28 (diff)
downloadbcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.tar.gz
bcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.zip
*** empty log message ***
llvm-svn: 3075
Diffstat (limited to 'llvm/support/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/support/lib/Support/CommandLine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/support/lib/Support/CommandLine.cpp b/llvm/support/lib/Support/CommandLine.cpp
index 433cefda7bf..e125ebeb822 100644
--- a/llvm/support/lib/Support/CommandLine.cpp
+++ b/llvm/support/lib/Support/CommandLine.cpp
@@ -138,7 +138,7 @@ static bool EatsUnboundedNumberOfValues(const Option *O) {
}
void cl::ParseCommandLineOptions(int &argc, char **argv,
- const char *Overview = 0) {
+ const char *Overview) {
assert((!getOpts().empty() || !getPositionalOpts().empty()) &&
"No options specified, or ParseCommandLineOptions called more"
" than once!");
@@ -396,7 +396,7 @@ void cl::ParseCommandLineOptions(int &argc, char **argv,
// Option Base class implementation
//
-bool Option::error(string Message, const char *ArgName = 0) {
+bool Option::error(string Message, const char *ArgName) {
if (ArgName == 0) ArgName = ArgStr;
if (ArgName[0] == 0)
cerr << HelpStr; // Be nice for positional arguments
OpenPOWER on IntegriCloud