Class: AdLint::Cc1::UndeclaredType
- Inherits:
-
Type
- Object
- Type
- AdLint::Cc1::UndeclaredType
show all
- Defined in:
- lib/adlint/cc1/type.rb
Instance Attribute Summary
Attributes inherited from Type
#declarations, #name, #type_table
Instance Method Summary
collapse
-
#_arithmetic_type_with_array(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_bitfield(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_char(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_double(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_enum(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_extended_big_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_float(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_function(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_long_double(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_long_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_long_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_pointer(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_short(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_short_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_char(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_long_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_long_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_short(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_signed_short_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_struct(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_undeclared(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_union(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unresolved(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_char(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_long_long(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_long_long_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_short(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_unsigned_short_int(lhs_type, rhs_type = self) ⇒ Object
-
#_arithmetic_type_with_void(lhs_type, rhs_type = self) ⇒ Object
-
#arbitrary_value ⇒ Object
-
#argument_promoted_type ⇒ Object
-
#arithmetic_type_with(type) ⇒ Object
-
#array? ⇒ Boolean
-
#base_type ⇒ Object
-
#bit_alignment ⇒ Object
-
#bit_size ⇒ Object
-
#bitfield? ⇒ Boolean
-
#brief_image ⇒ Object
-
#coerce_array_value(val) ⇒ Object
-
#coerce_composite_value(val) ⇒ Object
-
#coerce_scalar_value(val) ⇒ Object
-
#coercible?(to_type) ⇒ Boolean
-
#compatible?(to_type) ⇒ Boolean
-
#const? ⇒ Boolean
-
#convertible?(to_type) ⇒ Boolean
-
#corresponding_signed_type ⇒ Object
-
#corresponding_unsigned_type ⇒ Object
-
#dup ⇒ Object
-
#enum? ⇒ Boolean
-
#enumerators ⇒ Object
-
#explicitly_signed? ⇒ Boolean
-
#floating? ⇒ Boolean
-
#function? ⇒ Boolean
-
#have_va_list? ⇒ Boolean
-
#id ⇒ Object
-
#image ⇒ Object
-
#impl_length ⇒ Object
-
#incomplete? ⇒ Boolean
-
#initialize(type_tbl) ⇒ UndeclaredType
constructor
A new instance of UndeclaredType.
-
#integer? ⇒ Boolean
-
#integer_conversion_rank ⇒ Object
-
#integer_promoted_type ⇒ Object
-
#length ⇒ Object
-
#location ⇒ Object
-
#max ⇒ Object
-
#member_named(name) ⇒ Object
-
#members ⇒ Object
-
#min ⇒ Object
-
#named? ⇒ Boolean
-
#nil_value ⇒ Object
-
#parameter_types ⇒ Object
-
#parameter_value ⇒ Object
-
#pointer? ⇒ Boolean
-
#qualified? ⇒ Boolean
-
#real_type ⇒ Object
-
#restrict? ⇒ Boolean
-
#return_type ⇒ Object
-
#return_value ⇒ Object
-
#same_as?(type) ⇒ Boolean
-
#scalar? ⇒ Boolean
-
#signed? ⇒ Boolean
-
#standard? ⇒ Boolean
-
#struct? ⇒ Boolean
-
#undeclared? ⇒ Boolean
-
#undefined_value ⇒ Object
-
#union? ⇒ Boolean
-
#unqualify ⇒ Object
-
#unresolved? ⇒ Boolean
-
#user? ⇒ Boolean
-
#void? ⇒ Boolean
-
#volatile? ⇒ Boolean
-
#zero_value ⇒ Object
Methods inherited from Type
#==, #aligned_bit_size, #aligned_byte_size, #byte_alignment, #byte_size, #composite?, #inspect, #length=, #more_cv_qualified?, #parameter?, #unsigned?
#char_alignment, #char_as_unsigned_char?, #char_size, #code_ptr_alignment, #code_ptr_size, #data_ptr_alignment, #data_ptr_size, #double_alignment, #double_size, #float_alignment, #float_size, #int_alignment, #int_size, #long_alignment, #long_double_alignment, #long_double_size, #long_long_alignment, #long_long_size, #long_size, #short_alignment, #short_size, #standard_types
#arithmetic, #logical_right_shift?
Methods included from Visitable
#accept
Constructor Details
Returns a new instance of UndeclaredType.
657
658
659
|
# File 'lib/adlint/cc1/type.rb', line 657
def initialize(type_tbl)
super(type_tbl, "__adlint__undeclared_type")
end
|
Instance Method Details
#_arithmetic_type_with_array(lhs_type, rhs_type = self) ⇒ Object
1136
1137
1138
1139
|
# File 'lib/adlint/cc1/type.rb', line 1136
def _arithmetic_type_with_array(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_bitfield(lhs_type, rhs_type = self) ⇒ Object
1116
1117
1118
1119
1120
1121
|
# File 'lib/adlint/cc1/type.rb', line 1116
def _arithmetic_type_with_bitfield(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_char(lhs_type, rhs_type = self) ⇒ Object
918
919
920
921
922
923
|
# File 'lib/adlint/cc1/type.rb', line 918
def _arithmetic_type_with_char(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_double(lhs_type, rhs_type = self) ⇒ Object
1103
1104
1105
1106
1107
|
# File 'lib/adlint/cc1/type.rb', line 1103
def _arithmetic_type_with_double(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_enum(lhs_type, rhs_type = self) ⇒ Object
1123
1124
1125
1126
1127
|
# File 'lib/adlint/cc1/type.rb', line 1123
def _arithmetic_type_with_enum(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_extended_big_int(lhs_type, rhs_type = self) ⇒ Object
1151
1152
1153
1154
1155
1156
|
# File 'lib/adlint/cc1/type.rb', line 1151
def _arithmetic_type_with_extended_big_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_float(lhs_type, rhs_type = self) ⇒ Object
1097
1098
1099
1100
1101
|
# File 'lib/adlint/cc1/type.rb', line 1097
def _arithmetic_type_with_float(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_function(lhs_type, rhs_type = self) ⇒ Object
913
914
915
916
|
# File 'lib/adlint/cc1/type.rb', line 913
def _arithmetic_type_with_function(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_int(lhs_type, rhs_type = self) ⇒ Object
981
982
983
984
985
|
# File 'lib/adlint/cc1/type.rb', line 981
def _arithmetic_type_with_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_long(lhs_type, rhs_type = self) ⇒ Object
1014
1015
1016
1017
1018
|
# File 'lib/adlint/cc1/type.rb', line 1014
def _arithmetic_type_with_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_long_double(lhs_type, rhs_type = self) ⇒ Object
1109
1110
1111
1112
1113
1114
|
# File 'lib/adlint/cc1/type.rb', line 1109
def _arithmetic_type_with_long_double(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_long_int(lhs_type, rhs_type = self) ⇒ Object
1034
1035
1036
1037
1038
1039
|
# File 'lib/adlint/cc1/type.rb', line 1034
def _arithmetic_type_with_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_long_long(lhs_type, rhs_type = self) ⇒ Object
1055
1056
1057
1058
1059
1060
|
# File 'lib/adlint/cc1/type.rb', line 1055
def _arithmetic_type_with_long_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_long_long_int(lhs_type, rhs_type = self) ⇒ Object
1076
1077
1078
1079
1080
1081
|
# File 'lib/adlint/cc1/type.rb', line 1076
def _arithmetic_type_with_long_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_pointer(lhs_type, rhs_type = self) ⇒ Object
1129
1130
1131
1132
1133
1134
|
# File 'lib/adlint/cc1/type.rb', line 1129
def _arithmetic_type_with_pointer(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_short(lhs_type, rhs_type = self) ⇒ Object
939
940
941
942
943
944
|
# File 'lib/adlint/cc1/type.rb', line 939
def _arithmetic_type_with_short(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_short_int(lhs_type, rhs_type = self) ⇒ Object
960
961
962
963
964
965
|
# File 'lib/adlint/cc1/type.rb', line 960
def _arithmetic_type_with_short_int(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_signed(lhs_type, rhs_type = self) ⇒ Object
987
988
989
990
991
|
# File 'lib/adlint/cc1/type.rb', line 987
def _arithmetic_type_with_signed(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_char(lhs_type, rhs_type = self) ⇒ Object
925
926
927
928
929
930
|
# File 'lib/adlint/cc1/type.rb', line 925
def _arithmetic_type_with_signed_char(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_signed_int(lhs_type, rhs_type = self) ⇒ Object
993
994
995
996
997
998
|
# File 'lib/adlint/cc1/type.rb', line 993
def _arithmetic_type_with_signed_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_long(lhs_type, rhs_type = self) ⇒ Object
1020
1021
1022
1023
1024
1025
|
# File 'lib/adlint/cc1/type.rb', line 1020
def _arithmetic_type_with_signed_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_long_int(lhs_type, rhs_type = self) ⇒ Object
1041
1042
1043
1044
1045
1046
|
# File 'lib/adlint/cc1/type.rb', line 1041
def _arithmetic_type_with_signed_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_long_long(lhs_type, rhs_type = self) ⇒ Object
1062
1063
1064
1065
1066
1067
|
# File 'lib/adlint/cc1/type.rb', line 1062
def _arithmetic_type_with_signed_long_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_long_long_int(lhs_type, rhs_type = self) ⇒ Object
1083
1084
1085
1086
1087
1088
|
# File 'lib/adlint/cc1/type.rb', line 1083
def _arithmetic_type_with_signed_long_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_signed_short(lhs_type, rhs_type = self) ⇒ Object
946
947
948
949
950
951
|
# File 'lib/adlint/cc1/type.rb', line 946
def _arithmetic_type_with_signed_short(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_signed_short_int(lhs_type, rhs_type = self) ⇒ Object
967
968
969
970
971
972
|
# File 'lib/adlint/cc1/type.rb', line 967
def _arithmetic_type_with_signed_short_int(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_struct(lhs_type, rhs_type = self) ⇒ Object
1141
1142
1143
1144
|
# File 'lib/adlint/cc1/type.rb', line 1141
def _arithmetic_type_with_struct(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_undeclared(lhs_type, rhs_type = self) ⇒ Object
898
899
900
901
|
# File 'lib/adlint/cc1/type.rb', line 898
def _arithmetic_type_with_undeclared(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_union(lhs_type, rhs_type = self) ⇒ Object
1146
1147
1148
1149
|
# File 'lib/adlint/cc1/type.rb', line 1146
def _arithmetic_type_with_union(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unresolved(lhs_type, rhs_type = self) ⇒ Object
903
904
905
906
|
# File 'lib/adlint/cc1/type.rb', line 903
def _arithmetic_type_with_unresolved(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned(lhs_type, rhs_type = self) ⇒ Object
1000
1001
1002
1003
1004
1005
|
# File 'lib/adlint/cc1/type.rb', line 1000
def _arithmetic_type_with_unsigned(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_char(lhs_type, rhs_type = self) ⇒ Object
932
933
934
935
936
937
|
# File 'lib/adlint/cc1/type.rb', line 932
def _arithmetic_type_with_unsigned_char(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_unsigned_int(lhs_type, rhs_type = self) ⇒ Object
1007
1008
1009
1010
1011
1012
|
# File 'lib/adlint/cc1/type.rb', line 1007
def _arithmetic_type_with_unsigned_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_long(lhs_type, rhs_type = self) ⇒ Object
1027
1028
1029
1030
1031
1032
|
# File 'lib/adlint/cc1/type.rb', line 1027
def _arithmetic_type_with_unsigned_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_long_int(lhs_type, rhs_type = self) ⇒ Object
1048
1049
1050
1051
1052
1053
|
# File 'lib/adlint/cc1/type.rb', line 1048
def _arithmetic_type_with_unsigned_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_long_long(lhs_type, rhs_type = self) ⇒ Object
1069
1070
1071
1072
1073
1074
|
# File 'lib/adlint/cc1/type.rb', line 1069
def _arithmetic_type_with_unsigned_long_long(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_long_long_int(lhs_type, rhs_type = self) ⇒ Object
1090
1091
1092
1093
1094
1095
|
# File 'lib/adlint/cc1/type.rb', line 1090
def _arithmetic_type_with_unsigned_long_long_int(lhs_type, rhs_type = self)
lhs_type end
|
#_arithmetic_type_with_unsigned_short(lhs_type, rhs_type = self) ⇒ Object
953
954
955
956
957
958
|
# File 'lib/adlint/cc1/type.rb', line 953
def _arithmetic_type_with_unsigned_short(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_unsigned_short_int(lhs_type, rhs_type = self) ⇒ Object
974
975
976
977
978
979
|
# File 'lib/adlint/cc1/type.rb', line 974
def _arithmetic_type_with_unsigned_short_int(lhs_type, rhs_type = self)
lhs_type.integer_promoted_type end
|
#_arithmetic_type_with_void(lhs_type, rhs_type = self) ⇒ Object
908
909
910
911
|
# File 'lib/adlint/cc1/type.rb', line 908
def _arithmetic_type_with_void(lhs_type, rhs_type = self)
lhs_type end
|
#arbitrary_value ⇒ Object
853
854
855
|
# File 'lib/adlint/cc1/type.rb', line 853
def arbitrary_value
ScalarValue.of_nil(logical_right_shift?) end
|
889
890
891
|
# File 'lib/adlint/cc1/type.rb', line 889
def argument_promoted_type
self end
|
#arithmetic_type_with(type) ⇒ Object
893
894
895
896
|
# File 'lib/adlint/cc1/type.rb', line 893
def arithmetic_type_with(type)
type._arithmetic_type_with_undeclared(self)
end
|
#array? ⇒ Boolean
733
734
735
|
# File 'lib/adlint/cc1/type.rb', line 733
def array?
false
end
|
#base_type ⇒ Object
693
694
695
|
# File 'lib/adlint/cc1/type.rb', line 693
def base_type
self
end
|
#bit_alignment ⇒ Object
685
686
687
|
# File 'lib/adlint/cc1/type.rb', line 685
def bit_alignment
0
end
|
681
682
683
|
# File 'lib/adlint/cc1/type.rb', line 681
def bit_size
0
end
|
#bitfield? ⇒ Boolean
793
794
795
|
# File 'lib/adlint/cc1/type.rb', line 793
def bitfield?
false
end
|
#brief_image ⇒ Object
669
670
671
|
# File 'lib/adlint/cc1/type.rb', line 669
def brief_image
name
end
|
#coerce_array_value(val) ⇒ Object
873
874
875
|
# File 'lib/adlint/cc1/type.rb', line 873
def coerce_array_value(val)
ScalarValue.of_nil(logical_right_shift?) end
|
#coerce_composite_value(val) ⇒ Object
877
878
879
|
# File 'lib/adlint/cc1/type.rb', line 877
def coerce_composite_value(val)
ScalarValue.of_nil(logical_right_shift?) end
|
#coerce_scalar_value(val) ⇒ Object
869
870
871
|
# File 'lib/adlint/cc1/type.rb', line 869
def coerce_scalar_value(val)
ScalarValue.of_nil(logical_right_shift?) end
|
#coercible?(to_type) ⇒ Boolean
709
710
711
|
# File 'lib/adlint/cc1/type.rb', line 709
def coercible?(to_type)
false
end
|
#compatible?(to_type) ⇒ Boolean
705
706
707
|
# File 'lib/adlint/cc1/type.rb', line 705
def compatible?(to_type)
false
end
|
#const? ⇒ Boolean
781
782
783
|
# File 'lib/adlint/cc1/type.rb', line 781
def const?
false
end
|
#convertible?(to_type) ⇒ Boolean
713
714
715
|
# File 'lib/adlint/cc1/type.rb', line 713
def convertible?(to_type)
false
end
|
#corresponding_signed_type ⇒ Object
1158
1159
1160
|
# File 'lib/adlint/cc1/type.rb', line 1158
def corresponding_signed_type
self end
|
#corresponding_unsigned_type ⇒ Object
1162
1163
1164
|
# File 'lib/adlint/cc1/type.rb', line 1162
def corresponding_unsigned_type
self end
|
1166
1167
1168
|
# File 'lib/adlint/cc1/type.rb', line 1166
def dup
UndeclaredType.new(type_table)
end
|
#enum? ⇒ Boolean
757
758
759
|
# File 'lib/adlint/cc1/type.rb', line 757
def enum?
false
end
|
#enumerators ⇒ Object
817
818
819
|
# File 'lib/adlint/cc1/type.rb', line 817
def enumerators
[]
end
|
#explicitly_signed? ⇒ Boolean
801
802
803
|
# File 'lib/adlint/cc1/type.rb', line 801
def explicitly_signed?
false
end
|
#floating? ⇒ Boolean
729
730
731
|
# File 'lib/adlint/cc1/type.rb', line 729
def floating?
false
end
|
#function? ⇒ Boolean
753
754
755
|
# File 'lib/adlint/cc1/type.rb', line 753
def function?
false
end
|
#have_va_list? ⇒ Boolean
805
806
807
|
# File 'lib/adlint/cc1/type.rb', line 805
def have_va_list?
false
end
|
661
662
663
|
# File 'lib/adlint/cc1/type.rb', line 661
def id
@id ||= TypeId.new(name)
end
|
665
666
667
|
# File 'lib/adlint/cc1/type.rb', line 665
def image
name
end
|
#impl_length ⇒ Object
825
826
827
|
# File 'lib/adlint/cc1/type.rb', line 825
def impl_length
0
end
|
#incomplete? ⇒ Boolean
701
702
703
|
# File 'lib/adlint/cc1/type.rb', line 701
def incomplete?
true
end
|
#integer? ⇒ Boolean
725
726
727
|
# File 'lib/adlint/cc1/type.rb', line 725
def integer?
false
end
|
#integer_conversion_rank ⇒ Object
881
882
883
|
# File 'lib/adlint/cc1/type.rb', line 881
def integer_conversion_rank
0 end
|
885
886
887
|
# File 'lib/adlint/cc1/type.rb', line 885
def integer_promoted_type
self end
|
821
822
823
|
# File 'lib/adlint/cc1/type.rb', line 821
def length
0
end
|
673
674
675
|
# File 'lib/adlint/cc1/type.rb', line 673
def location
nil
end
|
841
842
843
|
# File 'lib/adlint/cc1/type.rb', line 841
def max
0
end
|
#member_named(name) ⇒ Object
833
834
835
|
# File 'lib/adlint/cc1/type.rb', line 833
def member_named(name)
nil
end
|
829
830
831
|
# File 'lib/adlint/cc1/type.rb', line 829
def members
[]
end
|
837
838
839
|
# File 'lib/adlint/cc1/type.rb', line 837
def min
0
end
|
#named? ⇒ Boolean
677
678
679
|
# File 'lib/adlint/cc1/type.rb', line 677
def named?
false
end
|
#nil_value ⇒ Object
845
846
847
|
# File 'lib/adlint/cc1/type.rb', line 845
def nil_value
ScalarValue.of_nil(logical_right_shift?) end
|
#parameter_types ⇒ Object
813
814
815
|
# File 'lib/adlint/cc1/type.rb', line 813
def parameter_types
[]
end
|
#parameter_value ⇒ Object
861
862
863
|
# File 'lib/adlint/cc1/type.rb', line 861
def parameter_value
ScalarValue.of_nil(logical_right_shift?) end
|
#pointer? ⇒ Boolean
745
746
747
|
# File 'lib/adlint/cc1/type.rb', line 745
def pointer?
false
end
|
#qualified? ⇒ Boolean
749
750
751
|
# File 'lib/adlint/cc1/type.rb', line 749
def qualified?
false
end
|
#real_type ⇒ Object
689
690
691
|
# File 'lib/adlint/cc1/type.rb', line 689
def real_type
self
end
|
#restrict? ⇒ Boolean
789
790
791
|
# File 'lib/adlint/cc1/type.rb', line 789
def restrict?
false
end
|
#return_type ⇒ Object
809
810
811
|
# File 'lib/adlint/cc1/type.rb', line 809
def return_type
self
end
|
#return_value ⇒ Object
865
866
867
|
# File 'lib/adlint/cc1/type.rb', line 865
def return_value
ScalarValue.of_nil(logical_right_shift?) end
|
#same_as?(type) ⇒ Boolean
717
718
719
|
# File 'lib/adlint/cc1/type.rb', line 717
def same_as?(type)
false
end
|
#scalar? ⇒ Boolean
721
722
723
|
# File 'lib/adlint/cc1/type.rb', line 721
def scalar?
false
end
|
#signed? ⇒ Boolean
797
798
799
|
# File 'lib/adlint/cc1/type.rb', line 797
def signed?
false
end
|
#standard? ⇒ Boolean
769
770
771
|
# File 'lib/adlint/cc1/type.rb', line 769
def standard?
false
end
|
#struct? ⇒ Boolean
737
738
739
|
# File 'lib/adlint/cc1/type.rb', line 737
def struct?
false
end
|
#undeclared? ⇒ Boolean
773
774
775
|
# File 'lib/adlint/cc1/type.rb', line 773
def undeclared?
true
end
|
#undefined_value ⇒ Object
857
858
859
|
# File 'lib/adlint/cc1/type.rb', line 857
def undefined_value
ScalarValue.of_nil(logical_right_shift?) end
|
#union? ⇒ Boolean
741
742
743
|
# File 'lib/adlint/cc1/type.rb', line 741
def union?
false
end
|
#unqualify ⇒ Object
697
698
699
|
# File 'lib/adlint/cc1/type.rb', line 697
def unqualify
self
end
|
#unresolved? ⇒ Boolean
777
778
779
|
# File 'lib/adlint/cc1/type.rb', line 777
def unresolved?
false
end
|
#user? ⇒ Boolean
761
762
763
|
# File 'lib/adlint/cc1/type.rb', line 761
def user?
false
end
|
#void? ⇒ Boolean
765
766
767
|
# File 'lib/adlint/cc1/type.rb', line 765
def void?
false
end
|
#volatile? ⇒ Boolean
785
786
787
|
# File 'lib/adlint/cc1/type.rb', line 785
def volatile?
false
end
|
#zero_value ⇒ Object
849
850
851
|
# File 'lib/adlint/cc1/type.rb', line 849
def zero_value
ScalarValue.of_nil(logical_right_shift?) end
|