aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 12:38:07 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-02-20 12:38:07 +0000
commitd57160d097d6cdb966e5c851215acbd2bf1aa236 (patch)
tree94c96f66abfcf17623cd455bc3d205b8903e9ce4 /include/llvm/Support/CommandLine.h
parentc70d7734d30fe4f40206ebd17a1397ec789d4e9a (diff)
Add 'sink' cmdline option. Patch by Mikhail Glushenkov!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r--include/llvm/Support/CommandLine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 8c269f0b1b..1392e334ac 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -123,7 +123,8 @@ enum FormattingFlags {
enum MiscFlags { // Miscellaneous flags to adjust argument
CommaSeparated = 0x200, // Should this cl::list split between commas?
PositionalEatsArgs = 0x400, // Should this positional cl::list eat -args?
- MiscMask = 0x600 // Union of the above flags.
+ Sink = 0x800, // Should this cl::list eat all unknown options?
+ MiscMask = 0xE00 // Union of the above flags.
};