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()
2825 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local2838 CurrentType = in VisitOffsetOfExpr()2839 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()2843 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()2852 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()2872 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()2885 RecordDecl *RD = CurrentType->castAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()2889 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()2892 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
568 Type *CurrentType = IV->getType(); in getInsertIndex() local570 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getInsertIndex()572 CurrentType = ST->getElementType(I); in getInsertIndex()573 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getInsertIndex()575 CurrentType = AT->getElementType(); in getInsertIndex()8039 Type *CurrentType = IV->getType(); in getAggregateSize() local8041 if (auto *ST = dyn_cast<StructType>(CurrentType)) { in getAggregateSize()8046 CurrentType = ST->getElementType(0); in getAggregateSize()8047 } else if (auto *AT = dyn_cast<ArrayType>(CurrentType)) { in getAggregateSize()8049 CurrentType = AT->getElementType(); in getAggregateSize()[all …]
15196 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local15202 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()15206 << CurrentType); in BuildBuiltinOffsetOf()15207 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()15209 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()15231 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()15235 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()15240 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()15245 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()15248 << CurrentType); in BuildBuiltinOffsetOf()[all …]
13072 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local13081 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()13084 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()13085 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()13092 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()13101 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()13114 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()13122 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()13123 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()