reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaType.cpp
 2159     if (T->isReferenceType()) {
 2161       << getPrintableNameForEntity(Entity) << T;
 2165     if (T->isVoidType() || T->isIncompleteArrayType()) {
 2165     if (T->isVoidType() || T->isIncompleteArrayType()) {
 2166       Diag(Loc, diag::err_illegal_decl_array_incomplete_type) << T;
 2170     if (RequireNonAbstractType(Brackets.getBegin(), T,
 2177       if (const MemberPointerType *MPTy = T->getAs<MemberPointerType>())
 2179           (void)isCompleteType(Loc, T);
 2184     if (RequireCompleteType(Loc, T,
 2189   if (T->isFunctionType()) {
 2191       << getPrintableNameForEntity(Entity) << T;
 2195   if (const RecordType *EltTy = T->getAs<RecordType>()) {
 2199       Diag(Loc, diag::ext_flexible_array_in_array) << T;
 2200   } else if (T->isObjCObjectType()) {
 2201     Diag(Loc, diag::err_objc_array_of_interfaces) << T;
 2234       T = Context.getVariableArrayType(T, nullptr, ASM, Quals, Brackets);
 2234       T = Context.getVariableArrayType(T, nullptr, ASM, Quals, Brackets);
 2236       T = Context.getIncompleteArrayType(T, ASM, Quals);
 2236       T = Context.getIncompleteArrayType(T, ASM, Quals);
 2238     T = Context.getDependentSizedArrayType(T, ArraySize, ASM, Quals, Brackets);
 2238     T = Context.getDependentSizedArrayType(T, ArraySize, ASM, Quals, Brackets);
 2239   } else if ((!T->isDependentType() && !T->isIncompleteType() &&
 2239   } else if ((!T->isDependentType() && !T->isIncompleteType() &&
 2240               !T->isConstantSizeType()) ||
 2254     T = Context.getVariableArrayType(T, ArraySize, ASM, Quals, Brackets);
 2254     T = Context.getVariableArrayType(T, ArraySize, ASM, Quals, Brackets);
 2281     } else if (!T->isDependentType() && !T->isVariablyModifiedType() &&
 2281     } else if (!T->isDependentType() && !T->isVariablyModifiedType() &&
 2282                !T->isIncompleteType() && !T->isUndeducedType()) {
 2282                !T->isIncompleteType() && !T->isUndeducedType()) {
 2285         = ConstantArrayType::getNumAddressingBits(Context, T, ConstVal);
 2293     T = Context.getConstantArrayType(T, ConstVal, ArraySize, ASM, Quals);
 2293     T = Context.getConstantArrayType(T, ConstVal, ArraySize, ASM, Quals);
 2297   if (getLangOpts().OpenCL && T->isVariableArrayType()) {
 2302   if (T->isVariableArrayType() && !Context.getTargetInfo().isVLASupported()) {
 2314     if (T->isVariableArrayType()) {
 2329   if (T->isVariableArrayType()) {
 2338     const QualType ArrType = Context.getBaseElementType(T);
 2346   return T;