Lines Matching refs:CAT
103 const ConstantArrayType *CAT =
105 Type = CAT->getElementType();
106 ArraySize = CAT->getSize().getZExtValue();
204 void addArrayUnchecked(const ConstantArrayType *CAT) {
210 MostDerivedType = CAT->getElementType();
211 MostDerivedArraySize = CAT->getSize().getZExtValue();
760 void addArray(EvalInfo &Info, const Expr *E, const ConstantArrayType *CAT) {
762 Designator.addArrayUnchecked(CAT);
1537 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType);
1538 assert(CAT && "vla in literal type?");
1540 if (CAT->getSize().ule(Index)) {
1560 ObjType = CAT->getElementType();
3226 if (const ConstantArrayType *CAT
3228 Result.addArray(Info, E, CAT);
3828 const ConstantArrayType *CAT =
3830 if (!CAT)
3834 CAT->getSize().getZExtValue());
3839 Subobject.addArray(Info, E, CAT);
3840 ImplicitValueInitExpr VIE(CAT->getElementType());
3856 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(E->getType());
3857 if (!CAT)
3874 CAT->getSize().getZExtValue());
3876 Subobject.addArray(Info, E, CAT);
3883 CAT->getElementType(), 1)) {
3901 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(E->getType());
3902 if (!CAT)
3907 Result = APValue(APValue::UninitArray(), 0, CAT->getSize().getZExtValue());
3920 Subobject.addArray(Info, E, CAT);
3921 ImplicitValueInitExpr VIE(CAT->getElementType());
3946 Subobject.addArray(Info, E, CAT);
3949 ImplicitValueInitExpr VIE(CAT->getElementType());