Lines Matching refs:NumCaptures
998 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in getStoredCaptures()
1013 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()), in CapturedStmt()
1021 for (unsigned I = 0, N = NumCaptures; I != N; ++I) in CapturedStmt()
1032 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures) in CapturedStmt() argument
1033 : Stmt(CapturedStmtClass, Empty), NumCaptures(NumCaptures), in CapturedStmt()
1035 getStoredStmts()[NumCaptures] = nullptr; in CapturedStmt()
1067 unsigned NumCaptures) { in CreateDeserialized() argument
1068 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1); in CreateDeserialized()
1069 if (NumCaptures > 0) { in CreateDeserialized()
1072 Size += sizeof(Capture) * NumCaptures; in CreateDeserialized()
1076 return new (Mem) CapturedStmt(EmptyShell(), NumCaptures); in CreateDeserialized()
1081 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures); in children()