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