Lines Matching defs:Elts
45 void ObjCListBase::set(void *const* InList, unsigned Elts, ASTContext &Ctx) {
47 if (Elts == 0) return; // Setting to an empty list is a noop.
49 List = new (Ctx) void*[Elts];
50 NumElts = Elts;
51 memcpy(List, InList, sizeof(void*)*Elts);
54 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts,
56 if (Elts == 0)
59 Locations = new (Ctx) SourceLocation[Elts];
60 memcpy(Locations, Locs, sizeof(SourceLocation) * Elts);
61 set(InList, Elts, Ctx);