Class: AdLint::Cc1::LongLongTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeLongLongTypeId

Returns a new instance of LongLongTypeId.



4596
4597
4598
# File 'lib/adlint/cc1/type.rb', line 4596

def initialize
  super("long long")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4600
4601
4602
4603
4604
4605
4606
4607
4608
# File 'lib/adlint/cc1/type.rb', line 4600

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