Lines Matching refs:OC
9260 const OffsetOfComponent &OC = CompPtr[i]; in BuildBuiltinOffsetOf() local
9261 if (OC.isBrackets) { in BuildBuiltinOffsetOf()
9266 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_array_type) in BuildBuiltinOffsetOf()
9272 ExprResult IdxRval = DefaultLvalueConversion(static_cast<Expr*>(OC.U.E)); in BuildBuiltinOffsetOf()
9286 Comps.push_back(OffsetOfNode(OC.LocStart, Exprs.size(), OC.LocEnd)); in BuildBuiltinOffsetOf()
9295 Comps.push_back(OffsetOfNode(OC.LocStart, OC.U.IdentInfo, OC.LocEnd)); in BuildBuiltinOffsetOf()
9301 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
9308 return ExprError(Diag(OC.LocEnd, diag::err_offsetof_record_type) in BuildBuiltinOffsetOf()
9328 << SourceRange(CompPtr[0].LocStart, OC.LocEnd) in BuildBuiltinOffsetOf()
9334 LookupResult R(*this, OC.U.IdentInfo, OC.LocStart, LookupMemberName); in BuildBuiltinOffsetOf()
9345 << OC.U.IdentInfo << RD << SourceRange(OC.LocStart, in BuildBuiltinOffsetOf()
9346 OC.LocEnd)); in BuildBuiltinOffsetOf()
9353 Diag(OC.LocEnd, diag::err_offsetof_bitfield) in BuildBuiltinOffsetOf()
9380 Comps.push_back(OffsetOfNode(OC.LocStart, in BuildBuiltinOffsetOf()
9381 cast<FieldDecl>(*FI), OC.LocEnd)); in BuildBuiltinOffsetOf()
9384 Comps.push_back(OffsetOfNode(OC.LocStart, MemberDecl, OC.LocEnd)); in BuildBuiltinOffsetOf()