Home | History | Annotate | Download | only in Sema

Lines Matching refs:AT

56 /// \brief Check whether the array of type AT can be initialized by the Init
60 static StringInitFailureKind IsStringInit(Expr *Init, const ArrayType *AT,
62 if (!isa<ConstantArrayType>(AT) && !isa<IncompleteArrayType>(AT))
69 if (isa<ObjCEncodeExpr>(Init) && AT->getElementType()->isCharType())
78 Context.getCanonicalType(AT->getElementType()).getUnqualifiedType();
150 static void CheckStringInit(Expr *Str, QualType &DeclT, const ArrayType *AT,
157 if (const IncompleteArrayType *IAT = dyn_cast<IncompleteArrayType>(AT)) {
169 const ConstantArrayType *CAT = cast<ConstantArrayType>(AT);
217 /// the initializer list one element at a time. The IList and Index
673 // Only look at the first initialization of a union.
1363 // FIXME: It would be wonderful if we could point at the actual member. In
1812 // anything except look at designated initializers; That's okay,
1853 // If we've hit the flexible array member at the end, we're done.
2008 /// resides at the given @p Index within the initializer list @p
2240 // All of the fields of a union are located at the same place in
2413 const ArrayType *AT = SemaRef.Context.getAsArrayType(CurrentObjectType);
2414 if (!AT) {
2447 if (isa<ConstantArrayType>(AT)) {
2448 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false);
2482 QualType CharTy = AT->getElementType();
2493 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2494 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2515 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen))
2516 StrLen = cast<ConstantArrayType>(AT)->getSize().getZExtValue();
2552 QualType ElementType = AT->getElementType();
2667 // initializer with many empty entries at the end.
2695 /// Update the initializer at index @p StructuredIndex within the
2859 if (const ArrayType *AT = Context.getAsArrayType(Parent.getType())) {
2861 Type = AT->getElementType();
3385 /// object. If an autorelease is required, it will be done at the
5100 // We're at the end of the line for C: it's either a write-back conversion
5387 /// \brief Get the location at which initialization diagnostics should appear.
5868 // For subobjects, we look at the complete object.
5886 // destroyed at the end of the full-expression in the return statement.
5902 // For subobjects, we look at the complete object.
5907 // For subobjects, we look at the complete object.
6045 << /*at end of constructor*/true;
6161 // macro only if it is at the beginning of the macro.