Lines Matching refs:AllocType
881 QualType allocType) {
883 allocType->getBaseElementTypeUnsafe()->getAs<RecordType>();
997 QualType AllocType = TInfo->getType();
1010 AllocType,
1043 QualType AllocType,
1088 if (TypeMayContainAuto && AllocType->getContainedAutoType()) {
1091 << AllocType << TypeRange);
1095 << AllocType << TypeRange);
1100 << AllocType << TypeRange);
1107 << AllocType << Deduce->getType()
1113 AllocType = AllocTypeInfo->getType();
1120 = Context.getAsConstantArrayType(AllocType)) {
1124 AllocType = Array->getElementType();
1128 if (CheckAllocatedType(AllocType, TypeRange.getBegin(), TypeRange))
1131 if (initStyle == CXXNewExpr::ListInit && isStdInitializerList(AllocType, 0)) {
1139 AllocType.getObjCLifetime() == Qualifiers::OCL_None &&
1140 AllocType->isObjCLifetimeType()) {
1141 AllocType = Context.getLifetimeQualifiedType(AllocType,
1142 AllocType->getObjCARCImplicitLifetime());
1145 QualType ResultType = Context.getPointerType(AllocType);
1200 } else if (!AllocType->isDependentType()) {
1202 ConstantArrayType::getNumAddressingBits(Context, AllocType, Value);
1229 QualType BaseAllocType = Context.getBaseElementType(AllocType);
1244 if (!AllocType->isDependentType() &&
1249 UseGlobal, AllocType, ArraySize, PlaceArgs,
1256 if (ArraySize && !AllocType->isDependentType())
1258 = doesUsualArrayDeleteWantSize(*this, StartLoc, AllocType);
1288 if (unsigned Align = Context.getPreferredTypeAlign(AllocType.getTypePtr())){
1292 << AllocType
1298 QualType InitType = AllocType;
1314 InitType = Context.getConstantArrayType(AllocType,
1320 if (!AllocType->isDependentType() &&
1366 QualType BaseAllocType = Context.getBaseElementType(AllocType);
1393 bool Sema::CheckAllocatedType(QualType AllocType, SourceLocation Loc,
1397 if (AllocType->isFunctionType())
1399 << AllocType << 0 << R;
1400 else if (AllocType->isReferenceType())
1402 << AllocType << 1 << R;
1403 else if (!AllocType->isDependentType() &&
1404 RequireCompleteType(Loc, AllocType,
1408 else if (RequireNonAbstractType(Loc, AllocType,
1411 else if (AllocType->isVariablyModifiedType())
1413 << AllocType;
1414 else if (unsigned AddressSpace = AllocType.getAddressSpace())
1416 << AllocType.getUnqualifiedType() << AddressSpace;
1418 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) {
1447 bool UseGlobal, QualType AllocType,
1483 QualType AllocElemType = Context.getBaseElementType(AllocType);