Lines Matching refs:Bitfield
2735 FieldDecl *BitField = E->getBitField();
2736 if (BitField) {
2737 llvm::APSInt BitWidthAP = BitField->getBitWidth()->EvaluateAsInt(C);
2741 BitField->getType()->isUnsignedIntegerOrEnumerationType());
2925 /// Analyzes an attempt to assign the given value to a bitfield.
2928 bool AnalyzeBitFieldAssignment(Sema &S, FieldDecl *Bitfield, Expr *Init,
2930 assert(Bitfield->isBitField());
2931 if (Bitfield->isInvalidDecl())
2935 if (Bitfield->getType()->isBooleanType())
2939 if (Bitfield->getBitWidth()->isValueDependent() ||
2940 Bitfield->getBitWidth()->isTypeDependent() ||
2949 if (!Bitfield->getBitWidth()->isIntegerConstantExpr(Width, S.Context) ||
2991 // a bitfield.
2992 if (FieldDecl *Bitfield = E->getLHS()->getBitField()) {
2993 if (AnalyzeBitFieldAssignment(S, Bitfield, E->getRHS(),
3173 // TODO: this should happen for bitfield stores, too.
3384 FieldDecl *BitField,
3386 (void) AnalyzeBitFieldAssignment(*this, BitField, Init, InitLoc);