Lines Matching refs:NumCaptures
1312 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in getStoredCaptures()
1327 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), in CapturedStmt()
1335 for (unsigned I = 0, N = NumCaptures; I != N; ++I) in CapturedStmt()
1346 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures) in CapturedStmt() argument
1347 : Stmt(CapturedStmtClass, Empty), NumCaptures(NumCaptures), in CapturedStmt()
1349 getStoredStmts()[NumCaptures] = nullptr; in CapturedStmt()
1353 for (unsigned I = 0, N = NumCaptures; I != N; ++I) in CapturedStmt()
1386 unsigned NumCaptures) { in CreateDeserialized() argument
1387 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in CreateDeserialized()
1388 if (NumCaptures > 0) { in CreateDeserialized()
1391 Size += sizeof(Capture) * NumCaptures; in CreateDeserialized()
1395 return new (Mem) CapturedStmt(EmptyShell(), NumCaptures); in CreateDeserialized()
1400 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()
1404 return const_child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()