OSDN Git Service

[MCDwarf] Use more idiomatic [u]int8_t types.
authorFrederic Riss <friss@apple.com>
Fri, 7 Aug 2015 19:19:44 +0000 (19:19 +0000)
committerFrederic Riss <friss@apple.com>
Fri, 7 Aug 2015 19:19:44 +0000 (19:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244347 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCDwarf.h

index b9bf9d4..028bdb2 100644 (file)
@@ -187,12 +187,12 @@ struct MCDwarfLineTableParams {
   /// Note: If you want to change this, you'll have to update the
   /// "StandardOpcodeLengths" table that is emitted in
   /// \c Emit().
-  unsigned char DWARF2LineOpcodeBase = 13;
+  uint8_t DWARF2LineOpcodeBase = 13;
   /// Minimum line offset in a special line info. opcode.  The value
   /// -5 was chosen to give a reasonable range of values.
-  signed char DWARF2LineBase = -5;
+  int8_t DWARF2LineBase = -5;
   /// Range of line offsets in a special line info. opcode.
-  unsigned char DWARF2LineRange = 14;
+  uint8_t DWARF2LineRange = 14;
 };
 
 struct MCDwarfLineTableHeader {