Home | History | Annotate | Download | only in json

Lines Matching refs:enum_type

252 void JsonIRReader::ReadEnumFields(const JsonObjectRef &enum_type,
254 for (auto &&field : enum_type.GetObjects("enum_fields")) {
306 EnumTypeIR JsonIRReader::EnumTypeJsonToIR(const JsonObjectRef &enum_type) {
308 ReadTypeInfo(enum_type, &enum_type_ir);
309 enum_type_ir.SetUnderlyingType(enum_type.GetString("underlying_type"));
310 enum_type_ir.SetAccess(GetAccess(enum_type));
311 ReadEnumFields(enum_type, &enum_type_ir);
312 ReadTagTypeInfo(enum_type, &enum_type_ir);
406 for (auto &&enum_type : tu.GetObjects("enum_types")) {
407 EnumTypeIR enum_type_ir = EnumTypeJsonToIR(enum_type);