OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f77616
)
simplify trivial function
author
Chris Lattner
<sabre@nondot.org>
Thu, 12 Oct 2006 23:50:28 +0000
(23:50 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 12 Oct 2006 23:50:28 +0000
(23:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30924
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/CommandLine.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/CommandLine.h
b/include/llvm/Support/CommandLine.h
index
8af6b2a
..
662c935
100644
(file)
--- a/
include/llvm/Support/CommandLine.h
+++ b/
include/llvm/Support/CommandLine.h
@@
-198,11
+198,7
@@
public:
void setValueStr(const char *S) { ValueStr = S; }
void setFlag(unsigned Flag, unsigned FlagMask) {
- if (Flags & FlagMask) {
- error(": Specified two settings for the same option!");
- exit(1);
- }
-
+ Flags &= ~FlagMask;
Flags |= Flag;
}