Lines Matching refs:NumCaptures
1311 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in getStoredCaptures()
1326 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), in CapturedStmt()
1334 for (unsigned I = 0, N = NumCaptures; I != N; ++I) in CapturedStmt()
1345 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures) in CapturedStmt() argument
1346 : Stmt(CapturedStmtClass, Empty), NumCaptures(NumCaptures), in CapturedStmt()
1348 getStoredStmts()[NumCaptures] = nullptr; in CapturedStmt()
1352 for (unsigned I = 0, N = NumCaptures; I != N; ++I) in CapturedStmt()
1385 unsigned NumCaptures) { in CreateDeserialized() argument
1386 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in CreateDeserialized()
1387 if (NumCaptures > 0) { in CreateDeserialized()
1390 Size += sizeof(Capture) * NumCaptures; in CreateDeserialized()
1394 return new (Mem) CapturedStmt(EmptyShell(), NumCaptures); in CreateDeserialized()
1399 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()
1403 return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()