Lines Matching defs:BaseType
290 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK,
298 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>();
360 << baseType << SourceRange(CompLoc);
443 Sema::ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType,
460 const PointerType *PT = BaseType->getAs<PointerType>();
465 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange();
470 assert(BaseType->isDependentType() ||
474 // Get the type being accessed in BaseType. If this is an arrow, the BaseExpr
477 Context, BaseExpr, BaseType, IsArrow, OpLoc,
487 QualType BaseType,
497 << SS.getRange() << rep << BaseType;
513 QualType BaseType,
517 cast_or_null<CXXRecordDecl>(computeDeclContext(BaseType));
521 assert(BaseType->isDependentType());
545 DiagnoseQualifiedMemberReference(*this, BaseExpr, BaseType, SS,
702 Sema::BuildMemberReferenceExpr(Expr *Base, QualType BaseType,
711 if (BaseType->isDependentType() ||
713 return ActOnDependentMemberExpr(Base, BaseType,
723 QualType RecordTy = BaseType;
750 // LookupMemberExpr can modify Base, and thus change BaseType
751 BaseType = Base->getType();
754 return BuildMemberReferenceExpr(Base, BaseType,
931 QualType BaseType = BaseExprType;
933 assert(BaseType->isPointerType());
934 BaseType = BaseType->castAs<PointerType>()->getPointeeType();
936 R.setBaseObjectType(BaseType);
1007 : BaseType->getAs<RecordType>()->getDecl());
1051 CheckQualifiedMemberReference(BaseExpr, BaseType, SS, R))
1149 << MemberName << BaseType << int(IsArrow);
1152 << MemberName << BaseType << int(IsArrow);
1231 QualType BaseType = BaseExpr.get()->getType();
1232 assert(!BaseType->isDependentType());
1242 if (const PointerType *Ptr = BaseType->getAs<PointerType>())
1243 BaseType = Ptr->getPointeeType();
1245 = BaseType->getAs<ObjCObjectPointerType>())
1246 BaseType = Ptr->getPointeeType();
1247 else if (BaseType->isRecordType()) {
1257 << BaseType << int(IsArrow) << BaseExpr.get()->getSourceRange()
1261 } else if (BaseType->isFunctionType()) {
1265 << BaseType << BaseExpr.get()->getSourceRange();
1271 if (const RecordType *RTy = BaseType->getAs<RecordType>()) {
1285 if (const ObjCObjectType *OTy = BaseType->getAs<ObjCObjectType>()) {
1316 if (S.RequireCompleteType(OpLoc, BaseType,
1425 IV, IV->getUsageType(BaseType), MemberLoc, OpLoc, BaseExpr.get(),
1440 if (!IsArrow && (OPT = BaseType->getAs<ObjCObjectPointerType>())) {
1452 assert(S.Context.hasSameUnqualifiedType(BaseType,
1501 << MemberName << BaseType);
1553 << MemberName << BaseType);
1563 if (BaseType->isExtVectorType()) {
1575 QualType ret = CheckExtVectorComponent(S, BaseType, VK, OpLoc,
1586 if (IsArrow && BaseType->isSpecificBuiltinType(BuiltinType::ObjCSel) &&
1604 if (const PointerType *Ptr = BaseType->getAs<PointerType>()) {
1608 << BaseType << int(IsArrow) << BaseExpr.get()->getSourceRange()
1632 << BaseType << BaseExpr.get()->getSourceRange() << MemberLoc;
1721 QualType BaseType = BaseExpr->getType();
1722 if (IsArrow) BaseType = BaseType->getAs<PointerType>()->getPointeeType();
1724 Qualifiers BaseQuals = BaseType.getQualifiers();