Lines Matching refs:Field
205 // Record if this base is the first non-literal field or base.
625 if (FieldDecl *Field = dyn_cast<FieldDecl>(D)) {
627 // A declaration for a bit-field that omits the identifier declares an
628 // unnamed bit-field. Unnamed bit-fields are not members and cannot be
630 if (Field->isUnnamedBitfield())
658 if (Field->isMutable())
664 if (isUnion() && !Field->isAnonymousStructOrUnion())
675 QualType T = Context.getBaseElementType(Field->getType());
696 if (!Field->hasInClassInitializer())
705 // Record if this field is the first non-literal or volatile field or base.
709 if (Field->hasInClassInitializer() ||
710 (Field->isAnonymousStructOrUnion() &&
711 Field->getType()->getAsCXXRecordDecl()->hasInClassInitializer())) {
745 // field can be moved if it's const or volatile qualified.
781 // If the field doesn't have a simple move constructor, we'll eagerly
795 // If the field
852 if (!Field->hasInClassInitializer() &&
877 !Field->hasInClassInitializer())
884 Field->isAnonymousStructOrUnion())
888 // Base element type of field is a non-class type.
890 (!Field->hasInClassInitializer() && !isUnion()))
913 // If this is not a zero-length bit-field, then the class is not empty.
915 if (!Field->isBitField() ||
916 (!Field->getBitWidth()->isTypeDependent() &&
917 !Field->getBitWidth()->isValueDependent() &&
918 Field->getBitWidthValue(Context) != 0))
1023 RecordDecl::field_iterator Field = field_begin();
1025 C != CEnd; ++C, ++Field) {
1027 ThisCapture = *Field;
1029 Captures[C->getCapturedVar()] = *Field;
1031 assert(Field == field_end());
1324 for (const auto *Field : fields())
1326 Field->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl())