Lines Matching defs:field

1622   assert(!Inst->getDeclName() && "Instantiated field decl is not unnamed");
1623 assert(!Tmpl->getDeclName() && "Template field decl is not unnamed");
1625 "Already noted what unnamed field was instantiated from");
1785 // the field is packed, the struct is packed, or the struct has a
1786 // a max-field-alignment constraint (#pragma pack). So calculate
1787 // the actual alignment of the field within the struct, and then
3081 // so fill in the canonical type field.
3109 // so fill in the canonical type field.
3199 // type either so fill in the canonical type field.
3235 // either, so fill in the canonical type field.
3271 // either, so fill in the canonical type field.
3303 // type either, so fill in the canonical type field.
3350 // in the canonical type field.
3621 // either, so fill in the canonical type field. We also have to pull
3660 // so fill in the canonical type field.
3730 // so fill in the canonical type field.
4061 // either, so fill in the canonical type field.
5204 // either, so fill in the canonical type field.
5952 /// \returns the type this bit-field will promote to, or NULL if no
5959 // If the bit-field has an enumerated type, it is treated as any other
5966 // cases where the source expression is not a bit-field designator.
5977 // A prvalue for an integral bit-field can be converted to a prvalue of type
5978 // int if int can represent all the values of the bit-field; otherwise, it
5980 // values of the bit-field. If the bit-field is larger yet, no integral
5983 // [For a bit-field of type _Bool, int, signed int, or unsigned int:]
5985 // the width, for a bit-field), the value is converted to an int; otherwise,
5990 // FIXME: C does not permit promotion of an enum bit-field whose rank is
6766 /// 'i' or 'I' instead if encoding a struct field, or a pointer!
7416 const auto *field = cast<FieldDecl>(dcl);
7419 S += field->getNameAsString();
7423 if (field->isBitField()) {
7424 EncodeBitField(this, S, field->getType(), field);
7426 CurOffs += field->getBitWidthValue(*this);
7429 QualType qt = field->getType();
7435 CurOffs += getTypeSize(field->getType());