unsigned detail;
TypeKey(Id i, unsigned d): type_id(i), detail(d) { }
+ TypeKey(BasicTypeDeclaration::Kind, bool);
bool operator<(const TypeKey &) const;
};
};
ConstantKey(Id t, int i): type_id(t), int_value(i) { }
+ ConstantKey(Id t, unsigned u): type_id(t), int_value(u) { }
ConstantKey(Id t, float f): type_id(t), float_value(f) { }
bool operator<(const ConstantKey &) const;
static ConstantKey get_constant_key(Id, const Variant &value);
Id get_constant_id(Id, const Variant &value);
Id get_vector_constant_id(Id, unsigned, Id);
- Id get_standard_type_id(BasicTypeDeclaration::Kind, unsigned);
+ Id get_standard_type_id(BasicTypeDeclaration::Kind, unsigned, bool = true);
bool is_scalar_type(Id, BasicTypeDeclaration::Kind) const;
Id get_array_type_id(TypeDeclaration &, unsigned);
Id get_pointer_type_id(Id, StorageClass);