Home | History | Annotate | Download | only in AST

Lines Matching defs:CAT

122         const ConstantArrayType *CAT =
124 Type = CAT->getElementType();
125 ArraySize = CAT->getSize().getZExtValue();
223 void addArrayUnchecked(const ConstantArrayType *CAT) {
229 MostDerivedType = CAT->getElementType();
230 MostDerivedArraySize = CAT->getSize().getZExtValue();
853 void addArray(EvalInfo &Info, const Expr *E, const ConstantArrayType *CAT) {
855 Designator.addArrayUnchecked(CAT);
1876 const ConstantArrayType *CAT =
1878 assert(CAT && "string literal isn't an array");
1879 QualType CharType = CAT->getElementType();
1893 const ConstantArrayType *CAT =
1895 assert(CAT && "string literal isn't an array");
1896 QualType CharType = CAT->getElementType();
1899 unsigned Elts = CAT->getSize().getZExtValue();
2003 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType);
2004 assert(CAT && "vla in literal type?");
2006 if (CAT->getSize().ule(Index)) {
2017 ObjType = CAT->getElementType();
4645 if (const ConstantArrayType *CAT
4647 Result.addArray(Info, E, CAT);
5326 const ConstantArrayType *CAT =
5328 if (!CAT)
5332 CAT->getSize().getZExtValue());
5337 Subobject.addArray(Info, E, CAT);
5338 ImplicitValueInitExpr VIE(CAT->getElementType());
5357 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(E->getType());
5358 if (!CAT)
5381 unsigned NumElts = CAT->getSize().getZExtValue();
5401 Subobject.addArray(Info, E, CAT);
5408 CAT->getElementType(), 1)) {
5435 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(Type)) {
5436 unsigned N = CAT->getSize().getZExtValue();
5451 ArrayElt.addArray(Info, E, CAT);
5454 CAT->getElementType()) ||
5456 CAT->getElementType(), 1))