summaryrefslogtreecommitdiff
path: root/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-14 00:33:05 +0000
committerChris Lattner <sabre@nondot.org>2005-10-14 00:33:05 +0000
commit40f44f1f58f823994b7f4ec4005887c3955fb1e7 (patch)
tree05320b451938cfdd8020e83c13e67cd6a18b561b /include/llvm/Support/CommandLine.h
parent24edbb7a6cdf8adcd80086700448d59c59a810b9 (diff)
downloadllvm-40f44f1f58f823994b7f4ec4005887c3955fb1e7.tar.gz
llvm-40f44f1f58f823994b7f4ec4005887c3955fb1e7.tar.bz2
llvm-40f44f1f58f823994b7f4ec4005887c3955fb1e7.tar.xz
Fix errors when compiling with -pedantic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CommandLine.h')
-rw-r--r--include/llvm/Support/CommandLine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Support/CommandLine.h b/include/llvm/Support/CommandLine.h
index 1b6c444a43..10a2f6c6ab 100644
--- a/include/llvm/Support/CommandLine.h
+++ b/include/llvm/Support/CommandLine.h
@@ -66,21 +66,21 @@ enum NumOccurrences { // Flags for the number of occurrences allowed
//
ConsumeAfter = 0x05,
- OccurrencesMask = 0x07,
+ OccurrencesMask = 0x07
};
enum ValueExpected { // Is a value required for the option?
ValueOptional = 0x08, // The value can appear... or not
ValueRequired = 0x10, // The value is required to appear!
ValueDisallowed = 0x18, // A value may not be specified (for flags)
- ValueMask = 0x18,
+ ValueMask = 0x18
};
enum OptionHidden { // Control whether -help shows this option
NotHidden = 0x20, // Option included in --help & --help-hidden
Hidden = 0x40, // -help doesn't, but --help-hidden does
ReallyHidden = 0x60, // Neither --help nor --help-hidden show this arg
- HiddenMask = 0x60,
+ HiddenMask = 0x60
};
// Formatting flags - This controls special features that the option might have
@@ -103,13 +103,13 @@ enum FormattingFlags {
Positional = 0x080, // Is a positional argument, no '-' required
Prefix = 0x100, // Can this option directly prefix its value?
Grouping = 0x180, // Can this option group with other options?
- FormattingMask = 0x180, // Union of the above flags.
+ FormattingMask = 0x180 // Union of the above flags.
};
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.
+ MiscMask = 0x600 // Union of the above flags.
};