Class: AdLint::Cc1::SignedLongLongTypeId

Inherits:
StandardTypeId show all
Defined in:
lib/adlint/cc1/type.rb

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeSignedLongLongTypeId

Returns a new instance of SignedLongLongTypeId.



4642
4643
4644
# File 'lib/adlint/cc1/type.rb', line 4642

def initialize
  super("signed long long")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4646
4647
4648
4649
4650
4651
4652
4653
4654
# File 'lib/adlint/cc1/type.rb', line 4646

def ==(rhs_id)
  case rhs_id
  when SignedLongLongTypeId, LongLongTypeId, LongLongIntTypeId,
       SignedLongLongIntTypeId
    true
  else
    false
  end
end