Home | History | Annotate | Download | only in Sema

Lines Matching defs:ArrayType

59 static StringInitFailureKind IsStringInit(Expr *Init, const ArrayType *AT,
125 const ArrayType *arrayType = Context.getAsArrayType(declType);
126 if (!arrayType)
128 return IsStringInit(init, arrayType, Context);
149 static void CheckStringInit(Expr *Str, QualType &DeclT, const ArrayType *AT,
163 ArrayType::Normal, 0);
570 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) {
927 if (const ArrayType *arrayType = SemaRef.Context.getAsArrayType(ElemType)) {
928 // arrayType can be incomplete if we're initializing a flexible
932 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) {
934 CheckStringInit(expr, ElemType, arrayType, SemaRef);
1350 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType);
1354 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) ==
1362 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef);
1371 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) {
1389 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(arrayType)) {
1396 QualType elementType = arrayType->getElementType();
1460 ArrayType::Normal, 0);
2153 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType);
2394 if (const ArrayType *AType
2582 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) {
3113 QualType ArrayType = S.Context.getConstantArrayType(
3116 clang::ArrayType::Normal, 0);
3118 InitializedEntity::InitializeTemporary(ArrayType);
4434 const ArrayType *Dest,
4435 const ArrayType *Source) {
4457 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) {
4635 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) {
4666 const ArrayType *SourceAT
6263 ArrayType::Normal, 0);
6421 QualType ArrayType = S.Context.getConstantArrayType(
6425 clang::ArrayType::Normal, 0);
6427 InitializedEntity::InitializeTemporary(ArrayType);