Home
last modified time | relevance | path

Searched refs:CurrentType (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp36 std::string CurrentType; in LayoutOverrideSource() local
49 if (!CurrentType.empty()) in LayoutOverrideSource()
50 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()
72 CurrentType = parseName(LineStr); in LayoutOverrideSource()
151 if (!CurrentType.empty()) in LayoutOverrideSource()
152 Layouts[CurrentType] = CurrentLayout; in LayoutOverrideSource()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp2615 QualType CurrentType = E->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
2628 CurrentType = in VisitOffsetOfExpr()
2629 CGF.getContext().getAsArrayType(CurrentType)->getElementType(); in VisitOffsetOfExpr()
2633 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2642 RecordDecl *RD = CurrentType->getAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2662 CurrentType = MemberDecl->getType(); in VisitOffsetOfExpr()
2675 RecordDecl *RD = CurrentType->getAs<RecordType>()->getDecl(); in VisitOffsetOfExpr()
2679 CurrentType = ON.getBase()->getType(); in VisitOffsetOfExpr()
2682 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp13319 QualType CurrentType = ArgTy; in BuildBuiltinOffsetOf() local
13325 if (!CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
13329 << CurrentType); in BuildBuiltinOffsetOf()
13330 CurrentType = AT->getElementType(); in BuildBuiltinOffsetOf()
13332 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
13354 if (CurrentType->isDependentType()) { in BuildBuiltinOffsetOf()
13358 CurrentType = Context.DependentTy; in BuildBuiltinOffsetOf()
13363 if (RequireCompleteType(OC.LocStart, CurrentType, in BuildBuiltinOffsetOf()
13368 const RecordType *RC = CurrentType->getAs<RecordType>(); in BuildBuiltinOffsetOf()
13371 << CurrentType); in BuildBuiltinOffsetOf()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp9596 QualType CurrentType = OOE->getTypeSourceInfo()->getType(); in VisitOffsetOfExpr() local
9605 const ArrayType *AT = Info.Ctx.getAsArrayType(CurrentType); in VisitOffsetOfExpr()
9608 CurrentType = AT->getElementType(); in VisitOffsetOfExpr()
9609 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()
9616 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
9625 CurrentType = MemberDecl->getType().getNonReferenceType(); in VisitOffsetOfExpr()
9638 const RecordType *RT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()
9646 CurrentType = BaseSpec->getType(); in VisitOffsetOfExpr()
9647 const RecordType *BaseRT = CurrentType->getAs<RecordType>(); in VisitOffsetOfExpr()