summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-23 22:37:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-23 22:37:11 +0000
commitd3303ded752bbfafb60521867f70d76d75defee6 (patch)
tree4bee5cd019fb8a0972c9918f59b617527000a40b /llvm/lib/Support/CommandLine.cpp
parentcf893a437e1f08b136ad310f42b71da3910503d5 (diff)
downloadbcm5719-llvm-d3303ded752bbfafb60521867f70d76d75defee6.tar.gz
bcm5719-llvm-d3303ded752bbfafb60521867f70d76d75defee6.zip
Remove dead default.
llvm-svn: 148738
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index d1f9fad8dd4..5ee05697572 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -882,7 +882,6 @@ bool Option::addOccurrence(unsigned pos, StringRef ArgName,
case OneOrMore:
case ZeroOrMore:
case ConsumeAfter: break;
- default: return error("bad num occurrences flag value!");
}
return handleOccurrence(pos, ArgName, Value);
OpenPOWER on IntegriCloud