projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f2d2137
)
Remove dead default.
author
David Blaikie
<dblaikie@gmail.com>
Mon, 23 Jan 2012 22:37:11 +0000
(22:37 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Mon, 23 Jan 2012 22:37:11 +0000
(22:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148738
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CommandLine.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index d1f9fad8dd450548de1990defdb31977ee1b4a2d..5ee05697572626f9c40d2ed3e5f41cbb0d2b85c8 100644
(file)
--- a/
lib/Support/CommandLine.cpp
+++ b/
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);