Lines Matching refs:collection
1571 /// In an Objective C collection iteration statement:
1589 Sema::CheckObjCForCollectionOperand(SourceLocation forLoc, Expr *collection) {
1590 if (!collection)
1594 if (collection->isTypeDependent()) return Owned(collection);
1597 ExprResult result = DefaultFunctionArrayLvalueConversion(collection);
1600 collection = result.take();
1605 collection->getType()->getAs<ObjCObjectPointerType>();
1608 << collection->getType() << collection->getSourceRange();
1622 collection)) {
1649 << collection->getType() << selector << collection->getSourceRange();
1656 return Owned(collection);
1661 Stmt *First, Expr *collection,
1665 CheckObjCForCollectionOperand(ForLoc, collection);
1810 static bool ObjCEnumerationCollection(Expr *Collection) {
1811 return !Collection->isTypeDependent()
1812 && Collection->getType()->getAs<ObjCObjectPointerType>() != 0;