[llvm-commits] CVS: llvm/include/llvm/CodeGen/ELFWriter.h LiveIntervalAnalysis.h MachineInstr.h ScheduleDAG.h SelectionDAGNodes.h ValueTypes.h

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 22 08:24:05 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

ELFWriter.h updated: 1.11 -> 1.12
LiveIntervalAnalysis.h updated: 1.50 -> 1.51
MachineInstr.h updated: 1.163 -> 1.164
ScheduleDAG.h updated: 1.8 -> 1.9
SelectionDAGNodes.h updated: 1.102 -> 1.103
ValueTypes.h updated: 1.18 -> 1.19
---
Log message:

Make the LLVM headers "-ansi -pedantic -Wno-long-long" clean.

Patch by Martin Partel!



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

 ELFWriter.h            |    2 +-
 LiveIntervalAnalysis.h |    2 +-
 MachineInstr.h         |    4 ++--
 ScheduleDAG.h          |    2 +-
 SelectionDAGNodes.h    |    4 ++--
 ValueTypes.h           |    4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/include/llvm/CodeGen/ELFWriter.h
diff -u llvm/include/llvm/CodeGen/ELFWriter.h:1.11 llvm/include/llvm/CodeGen/ELFWriter.h:1.12
--- llvm/include/llvm/CodeGen/ELFWriter.h:1.11	Mon Feb  6 21:34:35 2006
+++ llvm/include/llvm/CodeGen/ELFWriter.h	Wed Feb 22 10:23:43 2006
@@ -131,7 +131,7 @@
         SHF_LINK_ORDER       = 1 << 7, // Preserve order after combining
         SHF_OS_NONCONFORMING = 1 << 8, // nonstandard OS support required
         SHF_GROUP            = 1 << 9, // Section is a member of a group
-        SHF_TLS              = 1 << 10,// Section holds thread-local data
+        SHF_TLS              = 1 << 10 // Section holds thread-local data
       };
 
       ELFSection(const std::string &name)


Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.50 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.51
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.50	Sun Jan 29 01:59:37 2006
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h	Wed Feb 22 10:23:43 2006
@@ -60,7 +60,7 @@
         USE   = 1,
         DEF   = 2,
         STORE = 3,
-        NUM   = 4,
+        NUM   = 4
       };
     };
 


Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.163 llvm/include/llvm/CodeGen/MachineInstr.h:1.164
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.163	Mon Aug  1 15:38:31 2005
+++ llvm/include/llvm/CodeGen/MachineInstr.h	Wed Feb 22 10:23:43 2006
@@ -79,7 +79,7 @@
     LOFLAG32    = 0x08,       // operand is %lo32(value_or_immedVal)
     HIFLAG64    = 0x10,       // operand is %hi64(value_or_immedVal)
     LOFLAG64    = 0x20,       // operand is %lo64(value_or_immedVal)
-    PCRELATIVE  = 0x40,       // Operand is relative to PC, not a global address
+    PCRELATIVE  = 0x40        // Operand is relative to PC, not a global address
   };
 
 public:
@@ -106,7 +106,7 @@
     MO_FrameIndex,              // Abstract Stack Frame Index
     MO_ConstantPoolIndex,       // Address of indexed Constant in Constant Pool
     MO_ExternalSymbol,          // Name of external global symbol
-    MO_GlobalAddress,           // Address of a global value
+    MO_GlobalAddress            // Address of a global value
   };
 
 private:


Index: llvm/include/llvm/CodeGen/ScheduleDAG.h
diff -u llvm/include/llvm/CodeGen/ScheduleDAG.h:1.8 llvm/include/llvm/CodeGen/ScheduleDAG.h:1.9
--- llvm/include/llvm/CodeGen/ScheduleDAG.h:1.8	Sat Feb  4 00:49:00 2006
+++ llvm/include/llvm/CodeGen/ScheduleDAG.h	Wed Feb 22 10:23:43 2006
@@ -41,7 +41,7 @@
     noScheduling,           // No scheduling, emit breath first sequence.
     simpleScheduling,       // Two pass, min. critical path, max. utilization.
     simpleNoItinScheduling, // Same as above exact using generic latency.
-    listSchedulingBURR,     // Bottom up reg reduction list scheduling.
+    listSchedulingBURR      // Bottom up reg reduction list scheduling.
   };
 
 


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.102 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.103
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.102	Thu Feb 16 23:43:56 2006
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Wed Feb 22 10:23:43 2006
@@ -402,7 +402,7 @@
     DEBUG_LABEL,
     
     // BUILTIN_OP_END - This must be the last enum value in this list.
-    BUILTIN_OP_END,
+    BUILTIN_OP_END
   };
 
   //===--------------------------------------------------------------------===//
@@ -447,7 +447,7 @@
     SETNE,         //  1 X 1 1 0       True if not equal
     SETTRUE2,      //  1 X 1 1 1       Always true (always folded)
 
-    SETCC_INVALID,      // Marker value.
+    SETCC_INVALID       // Marker value.
   };
 
   /// isSignedIntSetCC - Return true if this is a setcc instruction that


Index: llvm/include/llvm/CodeGen/ValueTypes.h
diff -u llvm/include/llvm/CodeGen/ValueTypes.h:1.18 llvm/include/llvm/CodeGen/ValueTypes.h:1.19
--- llvm/include/llvm/CodeGen/ValueTypes.h:1.18	Mon Feb 20 16:34:53 2006
+++ llvm/include/llvm/CodeGen/ValueTypes.h	Wed Feb 22 10:23:43 2006
@@ -59,7 +59,7 @@
     v4f32          =  21,   //  4 x f32
     v2f64          =  22,   //  2 x f64
 
-    LAST_VALUETYPE,         // This always remains at the end of the list.
+    LAST_VALUETYPE          // This always remains at the end of the list.
   };
 
   static inline bool isInteger(ValueType VT) {
@@ -136,7 +136,7 @@
   /// to the specified ValueType.  For integer types, this returns an unsigned
   /// type.  Note that this will abort for types that cannot be represented.
   const Type *getTypeForValueType(ValueType VT);
-};
+}
 
 } // End llvm namespace
 






More information about the llvm-commits mailing list