Home | History | Annotate | Download | only in Sema

Lines Matching refs:AllocType

867                                          QualType allocType) {
869 allocType->getBaseElementTypeUnsafe()->getAs<RecordType>();
983 QualType AllocType = TInfo->getType();
996 AllocType,
1029 QualType AllocType,
1070 (AT = AllocType->getContainedAutoType()) && !AT->isDeduced()) {
1073 << AllocType << TypeRange);
1077 << AllocType << TypeRange);
1082 << AllocType << TypeRange);
1088 << AllocType << Deduce->getType()
1094 AllocType = AllocTypeInfo->getType();
1101 = Context.getAsConstantArrayType(AllocType)) {
1105 AllocType = Array->getElementType();
1109 if (CheckAllocatedType(AllocType, TypeRange.getBegin(), TypeRange))
1112 if (initStyle == CXXNewExpr::ListInit && isStdInitializerList(AllocType, 0)) {
1120 AllocType.getObjCLifetime() == Qualifiers::OCL_None &&
1121 AllocType->isObjCLifetimeType()) {
1122 AllocType = Context.getLifetimeQualifiedType(AllocType,
1123 AllocType->getObjCARCImplicitLifetime());
1126 QualType ResultType = Context.getPointerType(AllocType);
1226 } else if (!AllocType->isDependentType()) {
1228 ConstantArrayType::getNumAddressingBits(Context, AllocType, Value);
1262 if (!AllocType->isDependentType() &&
1267 UseGlobal, AllocType, ArraySize, PlaceArgs,
1274 if (ArraySize && !AllocType->isDependentType())
1276 = doesUsualArrayDeleteWantSize(*this, StartLoc, AllocType);
1306 if (unsigned Align = Context.getPreferredTypeAlign(AllocType.getTypePtr())){
1310 << AllocType
1316 QualType InitType = AllocType;
1332 InitType = Context.getConstantArrayType(AllocType,
1340 if (!AllocType->isDependentType() &&
1391 QualType BaseAllocType = Context.getBaseElementType(AllocType);
1417 bool Sema::CheckAllocatedType(QualType AllocType, SourceLocation Loc,
1421 if (AllocType->isFunctionType())
1423 << AllocType << 0 << R;
1424 else if (AllocType->isReferenceType())
1426 << AllocType << 1 << R;
1427 else if (!AllocType->isDependentType() &&
1428 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R))
1430 else if (RequireNonAbstractType(Loc, AllocType,
1433 else if (AllocType->isVariablyModifiedType())
1435 << AllocType;
1436 else if (unsigned AddressSpace = AllocType.getAddressSpace())
1438 << AllocType.getUnqualifiedType() << AddressSpace;
1440 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) {
1469 bool UseGlobal, QualType AllocType,
1505 QualType AllocElemType = Context.getBaseElementType(AllocType);