Lines Matching refs:Elements
564 ExprResult Sema::BuildObjCArrayLiteral(SourceRange SR, MultiExprArg Elements) { in BuildObjCArrayLiteral() argument
674 Expr **ElementsBuffer = Elements.get(); in BuildObjCArrayLiteral()
675 for (unsigned I = 0, N = Elements.size(); I != N; ++I) { in BuildObjCArrayLiteral()
691 llvm::makeArrayRef(Elements.get(), in BuildObjCArrayLiteral()
692 Elements.size()), in BuildObjCArrayLiteral()
697 ObjCDictionaryElement *Elements, in BuildObjCDictionaryLiteral() argument
854 ExprResult Key = CheckObjCCollectionLiteralElement(*this, Elements[I].Key, in BuildObjCDictionaryLiteral()
861 = CheckObjCCollectionLiteralElement(*this, Elements[I].Value, ValueT); in BuildObjCDictionaryLiteral()
865 Elements[I].Key = Key.get(); in BuildObjCDictionaryLiteral()
866 Elements[I].Value = Value.get(); in BuildObjCDictionaryLiteral()
868 if (Elements[I].EllipsisLoc.isInvalid()) in BuildObjCDictionaryLiteral()
871 if (!Elements[I].Key->containsUnexpandedParameterPack() && in BuildObjCDictionaryLiteral()
872 !Elements[I].Value->containsUnexpandedParameterPack()) { in BuildObjCDictionaryLiteral()
873 Diag(Elements[I].EllipsisLoc, in BuildObjCDictionaryLiteral()
875 << SourceRange(Elements[I].Key->getLocStart(), in BuildObjCDictionaryLiteral()
876 Elements[I].Value->getLocEnd()); in BuildObjCDictionaryLiteral()
889 llvm::makeArrayRef(Elements, in BuildObjCDictionaryLiteral()