class AdLint::Cc1::BitfieldTypeId
Public Class Methods
new(base_type, field_width)
click to toggle source
Calls superclass method
AdLint::Cc1::TypeId::new
# File lib/adlint/cc1/type.rb, line 4941 def initialize(base_type, field_width) super(create_value(base_type, field_width)) end
Private Instance Methods
create_value(base_type, field_width)
click to toggle source
# File lib/adlint/cc1/type.rb, line 4946 def create_value(base_type, field_width) "#{base_type.real_type.name.split(" ").sort.join(" ")}:#{field_width}" end