[llvm-commits] CVS: llvm/include/llvm/Support/CommandLine.h

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 13 17:33:17 PDT 2005



Changes in directory llvm/include/llvm/Support:

CommandLine.h updated: 1.48 -> 1.49
---
Log message:

Fix errors when compiling with -pedantic


---
Diffs of the changes:  (+5 -5)

 CommandLine.h |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/Support/CommandLine.h
diff -u llvm/include/llvm/Support/CommandLine.h:1.48 llvm/include/llvm/Support/CommandLine.h:1.49
--- llvm/include/llvm/Support/CommandLine.h:1.48	Fri Aug 26 04:24:46 2005
+++ llvm/include/llvm/Support/CommandLine.h	Thu Oct 13 19:33:05 2005
@@ -66,21 +66,21 @@
   //
   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 @@
   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.
 };
 
 






More information about the llvm-commits mailing list