class AdLint::Cc1::SignedLongLongType

Public Class Methods

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

Public Instance Methods

arithmetic_type_with(type) click to toggle source
# File lib/adlint/cc1/type.rb, line 4628
def arithmetic_type_with(type)
  type._arithmetic_type_with_signed_long_long(self)
end
corresponding_signed_type() click to toggle source
# File lib/adlint/cc1/type.rb, line 4632
def corresponding_signed_type
  self
end
corresponding_unsigned_type() click to toggle source
# File lib/adlint/cc1/type.rb, line 4636
def corresponding_unsigned_type
  unsigned_long_long_t
end
id() click to toggle source
# File lib/adlint/cc1/type.rb, line 4620
def id
  @id ||= SignedLongLongTypeId.new
end
integer_conversion_rank() click to toggle source
# File lib/adlint/cc1/type.rb, line 4624
def integer_conversion_rank
  5
end