Class: AdLint::Cc1::LongLongIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeLongLongIntTypeId

Returns a new instance of LongLongIntTypeId.



4733
4734
4735
# File 'lib/adlint/cc1/type.rb', line 4733

def initialize
  super("long long int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4737
4738
4739
4740
4741
4742
4743
4744
4745
# File 'lib/adlint/cc1/type.rb', line 4737

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