[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.h ConfigLexer.h ConfigLexer.l ConfigLexer.l.cvs

Chris Lattner lattner at cs.uiuc.edu
Wed May 24 10:04:34 PDT 2006



Changes in directory llvm/tools/llvmc:

CompilerDriver.h updated: 1.18 -> 1.19
ConfigLexer.h updated: 1.13 -> 1.14
ConfigLexer.l updated: 1.13 -> 1.14
ConfigLexer.l.cvs updated: 1.1 -> 1.2
---
Log message:

Patches to make the LLVM sources more -pedantic clean.  Patch provided
by Anton Korobeynikov!  This is a step towards closing PR786: http://llvm.cs.uiuc.edu/PR786 .


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

 CompilerDriver.h  |    4 ++--
 ConfigLexer.h     |    2 +-
 ConfigLexer.l     |    2 +-
 ConfigLexer.l.cvs |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/tools/llvmc/CompilerDriver.h
diff -u llvm/tools/llvmc/CompilerDriver.h:1.18 llvm/tools/llvmc/CompilerDriver.h:1.19
--- llvm/tools/llvmc/CompilerDriver.h:1.18	Wed May 18 19:52:29 2005
+++ llvm/tools/llvmc/CompilerDriver.h	Wed May 24 12:04:05 2006
@@ -65,7 +65,7 @@
         PREPROCESSES_FLAG    = 0x0002, ///< Does this action preprocess?
         TRANSLATES_FLAG      = 0x0004, ///< Does this action translate?
         OUTPUT_IS_ASM_FLAG   = 0x0008, ///< Action produces .ll files?
-        FLAGS_MASK           = 0x000F, ///< Union of all flags
+        FLAGS_MASK           = 0x000F  ///< Union of all flags
       };
 
       /// This type is the input list to the CompilerDriver. It provides
@@ -131,7 +131,7 @@
         EMIT_RAW_FLAG        = 0x0080, ///< Emit raw, unoptimized bytecode
         KEEP_TEMPS_FLAG      = 0x0100, ///< Don't delete temporary files
         STRIP_OUTPUT_FLAG    = 0x0200, ///< Strip symbols from linked output
-        DRIVER_FLAGS_MASK    = 0x03FF, ///< Union of the above flags
+        DRIVER_FLAGS_MASK    = 0x03FF  ///< Union of the above flags
       };
 
     /// @}


Index: llvm/tools/llvmc/ConfigLexer.h
diff -u llvm/tools/llvmc/ConfigLexer.h:1.13 llvm/tools/llvmc/ConfigLexer.h:1.14
--- llvm/tools/llvmc/ConfigLexer.h:1.13	Wed May 18 19:52:29 2005
+++ llvm/tools/llvmc/ConfigLexer.h	Wed May 24 12:04:05 2006
@@ -102,7 +102,7 @@
   TRUETOK,           ///< A boolean true value (true/yes/on)
   VERBOSE_SUBST,     ///< The substitution item %verbose%
   VERSION_TOK,       ///< The name "version" (and variants)
-  WOPTS_SUBST,       ///< The %WOpts% substitution
+  WOPTS_SUBST        ///< The %WOpts% substitution
 };
 
 extern ConfigLexerTokens Configlex();


Index: llvm/tools/llvmc/ConfigLexer.l
diff -u llvm/tools/llvmc/ConfigLexer.l:1.13 llvm/tools/llvmc/ConfigLexer.l:1.14
--- llvm/tools/llvmc/ConfigLexer.l:1.13	Wed May 18 19:52:29 2005
+++ llvm/tools/llvmc/ConfigLexer.l	Wed May 24 12:04:05 2006
@@ -64,7 +64,7 @@
   }
   YY_FATAL_ERROR("Substitition tokens not allowed in names" ); 
   return ERRORTOK;
-};
+}
 
 inline llvm::ConfigLexerTokens handleValueContext(llvm::ConfigLexerTokens token) {
   ConfigLexerState.StringVal = yytext;


Index: llvm/tools/llvmc/ConfigLexer.l.cvs
diff -u llvm/tools/llvmc/ConfigLexer.l.cvs:1.1 llvm/tools/llvmc/ConfigLexer.l.cvs:1.2
--- llvm/tools/llvmc/ConfigLexer.l.cvs:1.1	Mon Feb 13 23:16:35 2006
+++ llvm/tools/llvmc/ConfigLexer.l.cvs	Wed May 24 12:04:05 2006
@@ -64,7 +64,7 @@
   }
   YY_FATAL_ERROR("Substitition tokens not allowed in names" ); 
   return ERRORTOK;
-};
+}
 
 inline llvm::ConfigLexerTokens handleValueContext(llvm::ConfigLexerTokens token) {
   ConfigLexerState.StringVal = yytext;






More information about the llvm-commits mailing list