Lines Matching refs:OC
8690 const OffsetOfComponent &OC = CompPtr[i];
8691 if (OC.isBrackets) {
8696 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type)
8702 ExprResult IdxRval = DefaultLvalueConversion(static_cast<Expr*>(OC.U.E));
8716 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd));
8725 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd));
8731 if (RequireCompleteType(OC.LocStart, CurrentType,
8738 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type)
8750 << SourceRange(CompPtr[0].LocStart, OC.LocEnd)
8756 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName);
8767 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart,
8768 OC.LocEnd));
8775 Diag(OC.LocEnd, diag::err_offsetof_bitfield)
8802 Comps.push_back(OffsetOfNode(OC.LocStart,
8803 cast<FieldDecl>(*FI), OC.LocEnd));
8806 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd));