Class: AdLint::Cc1::UnsignedIntTypeId

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

Instance Method Summary collapse

Methods inherited from TypeId

#eql?, #hash

Constructor Details

#initializeUnsignedIntTypeId

Returns a new instance of UnsignedIntTypeId.



4286
4287
4288
# File 'lib/adlint/cc1/type.rb', line 4286

def initialize
  super("unsigned int")
end

Instance Method Details

#==(rhs_id) ⇒ Object



4290
4291
4292
4293
4294
4295
4296
4297
# File 'lib/adlint/cc1/type.rb', line 4290

def ==(rhs_id)
  case rhs_id
  when UnsignedIntTypeId, UnsignedTypeId
    true
  else
    false
  end
end