class AdLint::Cc1::LongIntType

Public Class Methods

new(type_tbl) click to toggle source
Calls superclass method AdLint::Cc1::IntegerType::new
# File lib/adlint/cc1/type.rb, line 4433
def initialize(type_tbl)
  # FIXME: StandardTypesAccessor is not ready until @type_table is
  #        initialized.
  @type_table = type_tbl
  super(type_tbl, "long int", long_size, long_alignment, true, false)
end

Public Instance Methods

arithmetic_type_with(type) click to toggle source
# File lib/adlint/cc1/type.rb, line 4448
def arithmetic_type_with(type)
  type._arithmetic_type_with_long_int(self)
end
corresponding_signed_type() click to toggle source
# File lib/adlint/cc1/type.rb, line 4452
def corresponding_signed_type
  signed_long_int_t
end
corresponding_unsigned_type() click to toggle source
# File lib/adlint/cc1/type.rb, line 4456
def corresponding_unsigned_type
  unsigned_long_int_t
end
id() click to toggle source
# File lib/adlint/cc1/type.rb, line 4440
def id
  @id ||= LongIntTypeId.new
end
integer_conversion_rank() click to toggle source
# File lib/adlint/cc1/type.rb, line 4444
def integer_conversion_rank
  4
end