Class: AdLint::Cc1::UnsignedLongLongTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeUnsignedLongLongTypeId

Returns a new instance of UnsignedLongLongTypeId.



4688
4689
4690
# File 'lib/adlint/cc1/type.rb', line 4688

def initialize
  super("unsigned long long")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4692
4693
4694
4695
4696
4697
4698
4699
# File 'lib/adlint/cc1/type.rb', line 4692

def ==(rhs_id)
  case rhs_id
  when UnsignedLongLongTypeId, UnsignedLongLongIntTypeId
    true
  else
    false
  end
end