Lines Matching refs:AllocType

1225   QualType AllocType = TInfo->getType();
1238 AllocType,
1271 QualType AllocType,
1302 if (TypeMayContainAuto && AllocType->isUndeducedType()) {
1305 << AllocType << TypeRange);
1310 << AllocType << TypeRange);
1315 << AllocType << TypeRange);
1321 << AllocType << Deduce->getType()
1325 AllocType = DeducedType;
1332 = Context.getAsConstantArrayType(AllocType)) {
1336 AllocType = Array->getElementType();
1340 if (CheckAllocatedType(AllocType, TypeRange.getBegin(), TypeRange))
1344 isStdInitializerList(AllocType, nullptr)) {
1352 AllocType.getObjCLifetime() == Qualifiers::OCL_None &&
1353 AllocType->isObjCLifetimeType()) {
1354 AllocType = Context.getLifetimeQualifiedType(AllocType,
1355 AllocType->getObjCARCImplicitLifetime());
1358 QualType ResultType = Context.getPointerType(AllocType);
1478 } else if (!AllocType->isDependentType()) {
1480 ConstantArrayType::getNumAddressingBits(Context, AllocType, Value);
1512 if (!AllocType->isDependentType() &&
1516 UseGlobal, AllocType, ArraySize, PlacementArgs,
1523 if (ArraySize && !AllocType->isDependentType())
1525 = doesUsualArrayDeleteWantSize(*this, StartLoc, AllocType);
1555 if (unsigned Align = Context.getPreferredTypeAlign(AllocType.getTypePtr())){
1559 << AllocType
1565 QualType InitType = AllocType;
1581 InitType = Context.getConstantArrayType(AllocType,
1589 if (!AllocType->isDependentType() &&
1641 QualType BaseAllocType = Context.getBaseElementType(AllocType);
1665 bool Sema::CheckAllocatedType(QualType AllocType, SourceLocation Loc,
1669 if (AllocType->isFunctionType())
1671 << AllocType << 0 << R;
1672 else if (AllocType->isReferenceType())
1674 << AllocType << 1 << R;
1675 else if (!AllocType->isDependentType() &&
1676 RequireCompleteType(Loc, AllocType, diag::err_new_incomplete_type,R))
1678 else if (RequireNonAbstractType(Loc, AllocType,
1681 else if (AllocType->isVariablyModifiedType())
1683 << AllocType;
1684 else if (unsigned AddressSpace = AllocType.getAddressSpace())
1686 << AllocType.getUnqualifiedType() << AddressSpace;
1688 if (const ArrayType *AT = Context.getAsArrayType(AllocType)) {
1724 bool UseGlobal, QualType AllocType,
1759 QualType AllocElemType = Context.getBaseElementType(AllocType);