class AdLint::Cc1::UnsignedCharType
Public Class Methods
new(type_tbl)
click to toggle source
Calls superclass method
AdLint::Cc1::IntegerType::new
# File lib/adlint/cc1/type.rb, line 3760 def initialize(type_tbl) # FIXME: StandardTypesAccessor is not ready until @type_table is # initialized. @type_table = type_tbl super(type_tbl, "unsigned char", char_size, char_alignment, false, true) end
Public Instance Methods
arithmetic_type_with(type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 3778 def arithmetic_type_with(type) type._arithmetic_type_with_unsigned_char(self) end
corresponding_signed_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 3782 def corresponding_signed_type signed_char end
corresponding_unsigned_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 3786 def corresponding_unsigned_type self end
id()
click to toggle source
# File lib/adlint/cc1/type.rb, line 3767 def id # NOTE: `char' type may be treated as `unsigned char'. # Specialized type comparison is implemented in CharTypeId, # SignedCharTypeId and UnsignedCharTypeId. @id ||= UnsignedCharTypeId.new(char_as_unsigned_char?) end
integer_conversion_rank()
click to toggle source
# File lib/adlint/cc1/type.rb, line 3774 def integer_conversion_rank 1 end