Lines Matching refs:record_type
126 GetRecordKind(const JsonObjectRef &record_type) {
127 std::string kind(record_type.GetString("record_kind"));
218 void JsonIRReader::ReadRecordFields(const JsonObjectRef &record_type,
220 for (auto &&field : record_type.GetObjects("fields")) {
228 void JsonIRReader::ReadBaseSpecifiers(const JsonObjectRef &record_type,
230 for (auto &&base_specifier : record_type.GetObjects("base_specifiers")) {
238 void JsonIRReader::ReadVTableLayout(const JsonObjectRef &record_type,
241 for (auto &&vtable_component : record_type.GetObjects("vtable_components")) {
292 JsonIRReader::RecordTypeJsonToIR(const JsonObjectRef &record_type) {
294 ReadTypeInfo(record_type, &record_type_ir);
295 ReadTemplateInfo(record_type, &record_type_ir);
296 record_type_ir.SetAccess(GetAccess(record_type));
297 ReadVTableLayout(record_type, &record_type_ir);
298 ReadRecordFields(record_type, &record_type_ir);
299 ReadBaseSpecifiers(record_type, &record_type_ir);
300 record_type_ir.SetRecordKind(GetRecordKind(record_type));
301 record_type_ir.SetAnonymity(record_type.GetBool("is_anonymous"));
302 ReadTagTypeInfo(record_type, &record_type_ir);
392 for (auto &&record_type : tu.GetObjects("record_types")) {
393 RecordTypeIR record_type_ir = RecordTypeJsonToIR(record_type);