Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Field

327   // FIXME: Perform the checks on the field types in SemaInit.
329 RecordDecl::field_iterator Field = Record->field_begin();
330 if (Field == Record->field_end()) {
336 if (!Field->getType()->isPointerType() ||
337 !Ctx.hasSameType(Field->getType()->getPointeeType(),
345 LValue Start = CGF.EmitLValueForFieldInitialization(DestLV, *Field);
351 ++Field;
353 if (Field == Record->field_end()) {
359 LValue EndOrLength = CGF.EmitLValueForFieldInitialization(DestLV, *Field);
360 if (Field->getType()->isPointerType() &&
361 Ctx.hasSameType(Field->getType()->getPointeeType(),
368 } else if (Ctx.hasSameType(Field->getType(), Ctx.getSizeType())) {
847 // Look into the base of a field access.
1180 // Only initialize one field of a union. The field itself is
1188 for (const auto *Field : record->fields())
1189 assert(Field->isUnnamedBitfield() && "Only unnamed bitfields allowed");
1195 FieldDecl *Field = E->getInitializedFieldInUnion();
1197 LValue FieldLoc = CGF.EmitLValueForFieldInitialization(DestLV, Field);
1199 // Store the initializer into the field
1217 for (const auto *field : record->fields()) {
1219 if (field->getType()->isIncompleteArrayType())
1223 if (field->isUnnamedBitfield())
1234 LValue LV = CGF.EmitLValueForFieldInitialization(DestLV, field);
1239 // Store the initializer into the field.
1251 = field->getType().isDestructedType()) {
1260 CGF.pushDestroy(EHCleanup, LV.getAddress(), field->getType(),
1322 for (const auto *Field : SD->fields()) {
1325 if (Field->getType()->isIncompleteArrayType() ||
1328 if (Field->isUnnamedBitfield())
1334 if (Field->getType()->isReferenceType())