[llvm] r244347 - [MCDwarf] Use more idiomatic [u]int8_t types.

Frederic Riss via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 12:19:44 PDT 2015


Author: friss
Date: Fri Aug  7 14:19:44 2015
New Revision: 244347

URL: http://llvm.org/viewvc/llvm-project?rev=244347&view=rev
Log:
[MCDwarf] Use more idiomatic [u]int8_t types.

Modified:
    llvm/trunk/include/llvm/MC/MCDwarf.h

Modified: llvm/trunk/include/llvm/MC/MCDwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCDwarf.h?rev=244347&r1=244346&r2=244347&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCDwarf.h (original)
+++ llvm/trunk/include/llvm/MC/MCDwarf.h Fri Aug  7 14:19:44 2015
@@ -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 {




More information about the llvm-commits mailing list