Searched refs:CurrentType (Results 1 – 5 of 5) sorted by relevance
35 std::string CurrentType; in LayoutOverrideSource() local48 if (!CurrentType.empty()) in LayoutOverrideSource()49 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()71 CurrentType = parseName(LineStr); in LayoutOverrideSource()150 if (!CurrentType.empty()) in LayoutOverrideSource()151 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()
564 Type *CurrentType = IV->getType(); in getInsertIndex() local566 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getInsertIndex()568 CurrentType = ST->getElementType(I); in getInsertIndex()569 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getInsertIndex()571 CurrentType = AT->getElementType(); in getInsertIndex()7679 Type *CurrentType = IV->getType(); in getAggregateSize() local7681 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getAggregateSize()7686 CurrentType = ST->getElementType(0); in getAggregateSize()7687 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getAggregateSize()7689 CurrentType = AT->getElementType(); in getAggregateSize()[all …]
2815 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local2828 CurrentType = in VisitOffsetOfExpr()2829 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()2833 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()2842 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()2862 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()2875 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()2879 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()2882 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
15075 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local15081 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()15082 const ArrayType *AT = Context.getAsArrayType(CurrentType); in BuildBuiltinOffsetOf()15085 << CurrentType); in BuildBuiltinOffsetOf()15086 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()15088 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()15110 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()15114 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()15119 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()15124 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()[all …]
13037 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local13046 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()13049 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()13050 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()13057 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()13066 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()13079 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()13087 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()13088 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()