class AdLint::Cc1::UnresolvedType
Public Class Methods
new(type_tbl)
click to toggle source
Calls superclass method
AdLint::Cc1::Type::new
# File lib/adlint/cc1/type.rb, line 1172 def initialize(type_tbl) super(type_tbl, "__adlint__unresolved_type") end
Public Instance Methods
_arithmetic_type_with_array(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1651 def _arithmetic_type_with_array(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
_arithmetic_type_with_bitfield(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1631 def _arithmetic_type_with_bitfield(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with BitfieldType and UnresolvedType # makes integer-promoted type of BitfieldType. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_char(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1433 def _arithmetic_type_with_char(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `char' and UnresolvedType # makes integer-promoted type of `char'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_double(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1618 def _arithmetic_type_with_double(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `double' and UnresolvedType makes `double'. lhs_type # NOTREACHED end
_arithmetic_type_with_enum(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1638 def _arithmetic_type_with_enum(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with EnumType and UnresolvedType makes EnumType. lhs_type # NOTREACHED end
_arithmetic_type_with_extended_big_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1666 def _arithmetic_type_with_extended_big_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with ExtendedBigIntType and UnresolvedType # makes ExtendedBigIntType. lhs_type # NOTREACHED end
_arithmetic_type_with_float(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1612 def _arithmetic_type_with_float(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `float' and UnresolvedType makes `float'. lhs_type # NOTREACHED end
_arithmetic_type_with_function(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1428 def _arithmetic_type_with_function(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
_arithmetic_type_with_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1496 def _arithmetic_type_with_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `int' and UnresolvedType makes `int'. lhs_type # NOTREACHED end
_arithmetic_type_with_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1529 def _arithmetic_type_with_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `long' and UnresolvedType makes `long'. lhs_type # NOTREACHED end
_arithmetic_type_with_long_double(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1624 def _arithmetic_type_with_long_double(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `long double' and UnresolvedType # makes `long double'. lhs_type # NOTREACHED end
_arithmetic_type_with_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1549 def _arithmetic_type_with_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `long int' and UnresolvedType # makes `long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_long_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1570 def _arithmetic_type_with_long_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `long long' and UnresolvedType # makes `long long'. lhs_type # NOTREACHED end
_arithmetic_type_with_long_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1591 def _arithmetic_type_with_long_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `long long int' and UnresolvedType # makes `long long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_pointer(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1644 def _arithmetic_type_with_pointer(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with PointerType and UnresolvedType # makes PointerType. lhs_type # NOTREACHED end
_arithmetic_type_with_short(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1454 def _arithmetic_type_with_short(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `short' and UnresolvedType # makes integer-promoted type of `short'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_short_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1475 def _arithmetic_type_with_short_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `short int' and UnresolvedType # makes integer-promoted type of `short int'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_signed(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1502 def _arithmetic_type_with_signed(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed' and UnresolvedType makes `signed'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_char(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1440 def _arithmetic_type_with_signed_char(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed char' and UnresolvedType # makes integer-promoted type of `signed char'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_signed_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1508 def _arithmetic_type_with_signed_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed int' and UnresolvedType # makes `signed int'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1535 def _arithmetic_type_with_signed_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed long' and UnresolvedType # makes `signed long'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1556 def _arithmetic_type_with_signed_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed long int' and UnresolvedType # makes `signed long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_long_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1577 def _arithmetic_type_with_signed_long_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed long long' and UnresolvedType # makes `signed long long'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_long_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1598 def _arithmetic_type_with_signed_long_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed long long int' and UnresolvedType # makes `signed long long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_signed_short(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1461 def _arithmetic_type_with_signed_short(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed short' and UnresolvedType # makes integer-promoted type of `signed short'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_signed_short_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1482 def _arithmetic_type_with_signed_short_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `signed short int' and UnresolvedType # makes integer-promoted type of `signed short int'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_struct(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1656 def _arithmetic_type_with_struct(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
_arithmetic_type_with_undeclared(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1413 def _arithmetic_type_with_undeclared(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! rhs_type.arithmetic_type_with(lhs_type) end
_arithmetic_type_with_union(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1661 def _arithmetic_type_with_union(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
_arithmetic_type_with_unresolved(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1418 def _arithmetic_type_with_unresolved(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1515 def _arithmetic_type_with_unsigned(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned' and UnresolvedType # makes `unsigned'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_char(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1447 def _arithmetic_type_with_unsigned_char(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned char' and UnresolvedType # makes integer-promoted type of `unsigned char'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_unsigned_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1522 def _arithmetic_type_with_unsigned_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned int' and UnresolvedType # makes `unsigned int'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1542 def _arithmetic_type_with_unsigned_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned long' and UnresolvedType # makes `unsigned long'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1563 def _arithmetic_type_with_unsigned_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned long int' and UnresolvedType # makes `unsigned long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_long_long(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1584 def _arithmetic_type_with_unsigned_long_long(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned long long' and UnresolvedType # makes `unsigned long long'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_long_long_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1605 def _arithmetic_type_with_unsigned_long_long_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned long long int' and UnresolvedType # makes `unsigned long long int'. lhs_type # NOTREACHED end
_arithmetic_type_with_unsigned_short(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1468 def _arithmetic_type_with_unsigned_short(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned short' and UnresolvedType # makes integer-promoted type of `unsigned short'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_unsigned_short_int(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1489 def _arithmetic_type_with_unsigned_short_int(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! # NOTE: Binary operation with `unsigned short int' and UnresolvedType # makes integer-promoted type of `unsigned short int'. lhs_type.integer_promoted_type # NOTREACHED end
_arithmetic_type_with_void(lhs_type, rhs_type = self)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1423 def _arithmetic_type_with_void(lhs_type, rhs_type = self) # NOTE: An arithmetic operation with UnresolvedType must not be executed! lhs_type # NOTREACHED end
arbitrary_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1368 def arbitrary_value ScalarValue.of_nil(logical_right_shift?) end
argument_promoted_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1404 def argument_promoted_type self # NOTREACHED end
arithmetic_type_with(type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1408 def arithmetic_type_with(type) # NOTE: An arithmetic operation with UnresolvedType must not be executed! type._arithmetic_type_with_unresolved(self) end
array?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1248 def array? false end
base_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1208 def base_type self end
bit_alignment()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1200 def bit_alignment 0 end
bit_size()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1196 def bit_size 0 end
bitfield?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1308 def bitfield? false end
brief_image()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1184 def brief_image name end
coerce_array_value(val)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1388 def coerce_array_value(val) ScalarValue.of_nil(logical_right_shift?) end
coerce_composite_value(val)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1392 def coerce_composite_value(val) ScalarValue.of_nil(logical_right_shift?) end
coerce_scalar_value(val)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1384 def coerce_scalar_value(val) ScalarValue.of_nil(logical_right_shift?) end
coercible?(to_type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1224 def coercible?(to_type) false end
compatible?(to_type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1220 def compatible?(to_type) false end
const?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1296 def const? false end
convertible?(to_type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1228 def convertible?(to_type) false end
corresponding_signed_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1673 def corresponding_signed_type self # NOTREACHED end
corresponding_unsigned_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1677 def corresponding_unsigned_type self # NOTREACHED end
dup()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1681 def dup UnresolvedType.new(type_table) end
enum?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1272 def enum? false end
enumerators()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1332 def enumerators [] end
explicitly_signed?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1316 def explicitly_signed? false end
floating?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1244 def floating? false end
function?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1268 def function? false end
have_va_list?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1320 def have_va_list? false end
id()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1176 def id @id ||= TypeId.new(name) end
image()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1180 def image name end
impl_length()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1340 def impl_length 0 end
incomplete?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1216 def incomplete? true end
integer?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1240 def integer? false end
integer_conversion_rank()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1396 def integer_conversion_rank 0 # NOTREACHED end
integer_promoted_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1400 def integer_promoted_type self # NOTREACHED end
length()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1336 def length 0 end
location()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1188 def location nil end
max()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1356 def max 0 end
member_named(name)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1348 def member_named(name) nil end
members()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1344 def members [] end
min()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1352 def min 0 end
named?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1192 def named? false end
nil_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1360 def nil_value ScalarValue.of_nil(logical_right_shift?) end
parameter_types()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1328 def parameter_types [] end
parameter_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1376 def parameter_value ScalarValue.of_nil(logical_right_shift?) end
pointer?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1260 def pointer? false end
qualified?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1264 def qualified? false end
real_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1204 def real_type self end
restrict?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1304 def restrict? false end
return_type()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1324 def return_type self end
return_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1380 def return_value ScalarValue.of_nil(logical_right_shift?) end
same_as?(type)
click to toggle source
# File lib/adlint/cc1/type.rb, line 1232 def same_as?(type) false end
scalar?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1236 def scalar? false end
signed?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1312 def signed? false end
standard?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1284 def standard? false end
struct?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1252 def struct? false end
undeclared?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1288 def undeclared? false end
undefined_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1372 def undefined_value ScalarValue.of_nil(logical_right_shift?) end
union?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1256 def union? false end
unqualify()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1212 def unqualify self end
unresolved?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1292 def unresolved? true end
user?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1276 def user? false end
void?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1280 def void? false end
volatile?()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1300 def volatile? false end
zero_value()
click to toggle source
# File lib/adlint/cc1/type.rb, line 1364 def zero_value ScalarValue.of_nil(logical_right_shift?) end