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);
631 if (const ArrayType *AType = SemaRef.Context.getAsArrayType(ILE->getType())) {
1115 } else if (const ArrayType *arrayType =
1117 // arrayType can be incomplete if we're initializing a flexible
1121 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) {
1123 CheckStringInit(expr, ElemType, arrayType, SemaRef);
1513 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType);
1517 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) ==
1525 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef);
1534 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) {
1552 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(arrayType)) {
1559 QualType elementType = arrayType->getElementType();
1623 ArrayType::Normal, 0);
2327 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType);
2576 if (const ArrayType *AType
2773 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) {
3337 QualType ArrayType = S.Context.getConstantArrayType(
3340 clang::ArrayType::Normal, 0);
3342 InitializedEntity::InitializeTemporary(ArrayType);
3710 if (const ArrayType *DestAT = S.Context.getAsArrayType(DestType)) {
4703 static bool hasCompatibleArrayTypes(ASTContext &Context, const ArrayType *Dest,
4704 const ArrayType *Source) {
4726 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) {
4914 if (const ArrayType *DestAT = Context.getAsArrayType(DestType)) {
4945 const ArrayType *SourceAT
6685 ArrayType::Normal, 0);
6849 QualType ArrayType = S.Context.getConstantArrayType(
6853 clang::ArrayType::Normal, 0);
6855 InitializedEntity::InitializeTemporary(ArrayType);